Replies: 14 comments 14 replies
-
The first thing I spotted was
I wonder what this entails, we can do a small spike to see what it is and if we can support or leverage it in Tuist |
Beta Was this translation helpful? Give feedback.
-
Opening a generated Xcode project in Xcode 14 seems to dirty the xcscheme with - <EnvironmentVariables>
- </EnvironmentVariables> |
Beta Was this translation helpful? Give feedback.
-
There's a new product type for
|
Beta Was this translation helpful? Give feedback.
-
Running
I've not been able to spot which dependency on my own is throwing this but it looks related to the |
Beta Was this translation helpful? Give feedback.
-
There's a new extension target for Background Assets FBE4DE842859B1EC00C6A189 /* BackgroundExt */ = {
isa = PBXNativeTarget;
buildConfigurationList = FBE4DE8E2859B1EC00C6A189 /* Build configuration list for PBXNativeTarget "BackgroundExt" */;
buildPhases = (
FBE4DE812859B1EC00C6A189 /* Sources */,
FBE4DE822859B1EC00C6A189 /* Frameworks */,
FBE4DE832859B1EC00C6A189 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = BackgroundExt;
productName = BackgroundExt;
productReference = FBE4DE852859B1EC00C6A189 /* BackgroundExt.appex */;
productType = "com.apple.product-type.extensionkit-extension";
}; References: |
Beta Was this translation helpful? Give feedback.
-
Watch apps can now have widget kit extension targets References: |
Beta Was this translation helpful? Give feedback.
-
One thing that would also be interesting is the support for Swift Package Plugins. https://developer.apple.com/wwdc22/110359 As the Use cases in our project would be
|
Beta Was this translation helpful? Give feedback.
-
Unit test with host apps have a slightly different
Doing an $ xcdiff -p1 Xcode13/TemplateApp.xcodeproj -p2 Xcode14/TemplateApp.xcodeproj --verbose --differences-only
# ...
❌ SETTINGS > "TemplateAppTests" target > "Debug" configuration > Values
⚠️ Value mismatch (2):
• IPHONEOS_DEPLOYMENT_TARGET
◦ 15.5
◦ 16.0
• TEST_HOST
◦ $(BUILT_PRODUCTS_DIR)/TemplateApp.app/TemplateApp
◦ $(BUILT_PRODUCTS_DIR)/TemplateApp.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/TemplateApp It seems Xcode 14 beta is compatible with both. |
Beta Was this translation helpful? Give feedback.
-
There's a new "Thread Performance Checker" scheme diagnostics option which is enabled by default: The scheme option only appears if it's disabled: <LaunchAction
+ disablePerformanceAntipatternChecker = "YES"
>
<!-- ... -->
</LaunchAction> |
Beta Was this translation helpful? Give feedback.
-
Thanks to @pavm035 for reporting this! #4572 watchOS applications no longer require a watchKit extension, furthermore have a different product type. |
Beta Was this translation helpful? Give feedback.
-
There's a new recommended setting suggested by Xcode 14
|
Beta Was this translation helpful? Give feedback.
-
From above:
As far as I can tell the SPM package plugins just needed to be specified as an SPM package dependency (without any products added to any targets) and SPM/Xcode will detect plugins within them and allow them to be used. |
Beta Was this translation helpful? Give feedback.
-
In Xcode 14 I get a warning for build phases without specified outputs:
We should probably automatically uncheck |
Beta Was this translation helpful? Give feedback.
-
Is there any update on the multi platform support? It's preventing me from using Tuist in most side projects |
Beta Was this translation helpful? Give feedback.
-
Overview
Xcode 14 beta has just been released 🎉
We can start a list of items that may be relevant to Tuist, for example:
Feel free to comment if you spot anything relevant and we'll consolidate / group things.
Items
Generation
Project format changes
Known changes so far:
TEST_HOST
for projects created with created with Xcode 14 differ slightly from prior versions of Xcode, but it's still compatibleEnvironmentVariables
Recommended Settings
DEAD_CODE_STRIPPING
default project setting XcodeProj#706Thread Performance Checker
Xcode 14 introduces a new "Thread Performance" runtime checker that is enabled by default. This can be configured in the scheme diagnostics option for the Run action (it doesn't appear under the Test action).
The scheme option only appears if explicitly disabled.
<LaunchAction + disablePerformanceAntipatternChecker = "YES" > <!-- ... --> </LaunchAction>
RunAction
andTestAction
diagnostics options may need to be separated as this option isn't common to bothTestAction
App Intents Extension
There's a new product type in Xcode 14 -
AppIntents
extension (not to be confused with SiriKit Intents extension)ExtensionKit
extension product types (new in Xcode 14) XcodeProj#687appIntentsExtension
to TuistBackground Assets Extension
There's a new product type in Xcode 14 -
BackgroundAssets
extensionExtensionKit
extension product types (new in Xcode 14) XcodeProj#687backgroundAssetsExtension
to TuistwatchOS + extension targets
watchOS apps can now include extension such as the WidgetKit extension
watchOS App extensions are now merged into the watchOS App
Multiplatform Support
Integrations
Swift Package Plugins
Xcode 14 supports using Swift Package plugins (e.g. adding linters, formatter, code generators).
Dependencies.swift
Fetch fails with Xcode 14 beta
References
Beta Was this translation helpful? Give feedback.
All reactions