Build, test, and submit your app using Xcode, Apple's integrated development environment.

Xcode Documentation

Post

Replies

Boosts

Views

Activity

Use of 64pt and 68pt iOS App Icon Sizes
Hi there! Back with Xcode 14 and iOS 16 there were two new app icon sizes introduced to iOS: 64pt @2x (128x128px) 64pt @3x (192x192px) 68pt @2x (136x136px) What are those icons used for? Neither the Xcode 14 release notes nor the Human Interface Guidelines are mentioning those sizes and what they are used for. In previous Xcode versions the asset catalog had labels for each icon size. As Xcode 15 still doesn’t bring that feature back I’m still puzzled when those icon sizes are visible to the user. Best! – Alex
3
0
2.5k
Jun ’23
Swift Macro: Missing package product 'MyMacroApple'
In Xcode 15.0.0 I have created a package using a template Swift Macro. I have named it 'MyMacroApple'. The template comes with #stringify macro so I have created an new app and named it 'MyMacroApp' then copy pasted the code from 'MyMacroApple' main.swift file import MyMacroApple let a = 17 let b = 25 let (result, code) = #stringify(a + b) then I have added Local package dependency to the app project and selected package product 'MyMacroApple' of Library kind to my 'pocMyApp' target. When I run the project I get the error: "No such module 'MyMacroApple'"
6
0
3.5k
Jun ’23
Error (Xcode): Undefined symbol
Hi friends, I'm using XCode 14.3.1, and suddenly I can't build my app, I'm getting this errors: ` Could not build the precompiled application for the device. Error (Xcode): Undefined symbol: _FIRConsentStatusDenied Error (Xcode): Undefined symbol: _FIRConsentStatusGranted Error (Xcode): Undefined symbol: _FIRConsentTypeAdStorage Error (Xcode): Undefined symbol: _FIRConsentTypeAnalyticsStorage Error (Xcode): Undefined symbol: _FIRFirestoreErrorDomain Error (Xcode): Undefined symbol: _GADAdLoaderAdTypeNative Error (Xcode): Undefined symbol: _GADAdSizeFluid Error (Xcode): Undefined symbol: _GADAdSizeFromCGSize Error (Xcode): Undefined symbol: _GADCurrentOrientationAnchoredAdaptiveBannerAdSizeWithWidth Error (Xcode): Undefined symbol: _GADCurrentOrientationInlineAdaptiveBannerAdSizeWithWidth Error (Xcode): Undefined symbol: _GADErrorUserInfoKeyResponseInfo Error (Xcode): Undefined symbol: _GADInlineAdaptiveBannerAdSizeWithWidthAndMaxHeight Error (Xcode): Undefined symbol: _GADLandscapeAnchoredAdaptiveBannerAdSizeWithWidth Error (Xcode): Undefined symbol: _GADLandscapeInlineAdaptiveBannerAdSizeWithWidth Error (Xcode): Undefined symbol: _GADMaxAdContentRatingGeneral Error (Xcode): Undefined symbol: _GADMaxAdContentRatingMatureAudience Error (Xcode): Undefined symbol: _GADMaxAdContentRatingParentalGuidance Error (Xcode): Undefined symbol: _GADMaxAdContentRatingTeen Error (Xcode): Undefined symbol: _GADPortraitAnchoredAdaptiveBannerAdSizeWithWidth Error (Xcode): Undefined symbol: _GADPortraitInlineAdaptiveBannerAdSizeWithWidth Error (Xcode): Undefined symbol: _IsGADAdSizeValid Error (Xcode): Undefined symbol: _NSValueFromGADAdSize Error (Xcode): Undefined symbol: OBJC_CLASS$_AwesomeNotificationsFcmPlugin Error (Xcode): Undefined symbol: OBJC_CLASS$_AwesomeNotificationsPlugin Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRAnalytics Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRDocumentChange Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRDocumentReference Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRDocumentSnapshot Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRFieldPath Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRFieldValue Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRFilter Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRFirestore Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRFirestoreSettings Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRGeoPoint Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRLoadBundleTaskProgress Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRQuerySnapshot Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRSnapshotMetadata Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRTimestamp Error (Xcode): Undefined symbol: OBJC_CLASS$_FIRTransactionOptions Error (Xcode): Undefined symbol: OBJC_CLASS$_GADAdLoader Error (Xcode): Undefined symbol: OBJC_CLASS$_GADAppOpenAd Error (Xcode): Undefined symbol: OBJC_CLASS$_GADBannerView Error (Xcode): Undefined symbol: OBJC_CLASS$_GADDebugOptionsViewController Error (Xcode): Undefined symbol: OBJC_CLASS$_GADExtras Error (Xcode): Undefined symbol: OBJC_CLASS$_GADInterstitialAd Error (Xcode): Undefined symbol: OBJC_CLASS$_GADMobileAds Error (Xcode): Undefined symbol: OBJC_CLASS$_GADNativeAdImageAdLoaderOptions Error (Xcode): Undefined symbol: OBJC_CLASS$_GADNativeAdMediaAdLoaderOptions Error (Xcode): Undefined symbol: OBJC_CLASS$_GADNativeAdView Error (Xcode): Undefined symbol: OBJC_CLASS$_GADNativeAdViewAdOptions Error (Xcode): Undefined symbol: OBJC_CLASS$_GADRequest Error (Xcode): Undefined symbol: OBJC_CLASS$_GADRequestConfiguration Error (Xcode): Undefined symbol: OBJC_CLASS$_GADRewardedAd Error (Xcode): Undefined symbol: OBJC_CLASS$_GADRewardedInterstitialAd Error (Xcode): Undefined symbol: OBJC_CLASS$_GADServerSideVerificationOptions Error (Xcode): Undefined symbol: OBJC_CLASS$_GADVideoOptions Error (Xcode): Undefined symbol: OBJC_CLASS$_GAMBannerView Error (Xcode): Undefined symbol: OBJC_CLASS$_GAMInterstitialAd Error (Xcode): Undefined symbol: OBJC_CLASS$_GAMRequest Error (Xcode): Undefined symbol: OBJC_CLASS$_GIDConfiguration Error (Xcode): Undefined symbol: OBJC_CLASS$_GIDSignIn Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCameraPosition Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCameraUpdate Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCircle Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSCoordinateBounds Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMapStyle Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMapView Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMarker Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSMutablePath Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSPolygon Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSPolyline Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSServices Error (Xcode): Undefined symbol: OBJC_CLASS$_GMSTileLayer Error (Xcode): Undefined symbol: OBJC_METACLASS$_GADNativeAdView Error (Xcode): Undefined symbol: OBJC_METACLASS$_GMSTileLayer Error (Xcode): Undefined symbol: _kFIRFirestoreCacheSizeUnlimited Error (Xcode): Undefined symbol: _kGADAdSizeSmartBannerLandscape Error (Xcode): Undefined symbol: _kGADAdSizeSmartBannerPortrait Error (Xcode): Undefined symbol: _kGIDSignInErrorDomain Error (Xcode): Undefined symbol: _kGMSMaxZoomLevel Error (Xcode): Undefined symbol: _kGMSMinZoomLevel Error (Xcode): Undefined symbol: _kGMSTileLayerNoTile Error (Xcode): Linker command failed with exit code 1 (use -v to see invocation) Error launching application on MyPhone's iPhone. ` Any idea how to fix this issue :( thanks in advance!
1
0
1.3k
Jun ’23
Upgrading to iPadOS 17 running RoomPlan gets exception on call to Rendering.
Application fails almost immediately after initial entry to rendering code. Could not locate file '.' in bundle. Class for component already registered Registering library () that already exists in shader manager. Library will be overwritten. Resolving material name 'engine:BuiltinRenderGraphResources/AR/suFeatheringCreateMergedOcclusionMask.rematerial' as an asset path -- this usage is deprecated; instead provide a valid bundle What additional packages need updates to run successfully? I have updated the Xcode and other packages available in Beta set
2
0
886
Jun ’23
Xcode 15 build error: Showing Recent Messages Command ExtractAppIntentsMetadata failed with a nonzero exit code
Hello! I've started preparing my project for Xcode 15 using Xcode 15 beta. However when I try to build for a simulator I always get this error: Command ExtractAppIntentsMetadata failed with a nonzero exit code This error does not occur when building for a physical device and the build finishes successfully. I tried cleaning, deleting DD, reinstalling pods, nothing works. From logs it happens on this step: ExtractAppIntentsMetadata (in target 'AppName' from project 'AppName')
15
2
9.1k
Jun ’23
Xcode 15.0 Beta: NEPacketTunnelProvider is only available in tvOS 17.0 or newer
I'm researching to develop a VPN application on tvOS 17.0, but even if I set the dev target version to 17.0, it still prompts me that the API is not available. 'NEPacketTunnelProvider' is only available in tvOS 17. 0 or newer I have 2 xcodes installed on my computer, I tried switching to sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer, but it still doesn't work. Is there anything else I need to set?
5
0
1.6k
Jun ’23
Can't sign app on xcode
I have an app that was built on my first mac, i got a new one and moved the code and everthing to this new mac. I exported the private key and certificate from the old mac to the new one. Tried everthing on the internet about signing an app, but it just doesn't work. Now i'm stuck in a loop on xcode. I get the message "Revoke Certificate", when i click it, xcode create a new one, but it's already expired(despites it saying that will expire in 2024), if i try to manage certificates and create from there, nothing happens. If i delete the expired certificate from keychain, the revokate certificate message comes back. Any tips?
2
0
669
Jun ’23
Cannot Archive on Xcode
I have move to an M2 sillicon, was on 14.3 downgraded to 14.2 as I saw on other posts, but i cannot archive either with xcode or fastlane my project I get : error: Could not complete submission of dSYM at /Users/me/Library/Developer/Xcode/DerivedData/MyApp-dgiquvsgpvkjfjcvhtcnrnpbekbj/Build/Intermediates.noindex/ArchiveIntermediates/HangersPro/BuildProductsPath/Release-iphoneos/MyApp.app.dSYM: Error Domain=com.crashlytics.mac.error-domain.process-dsym Code=2 "File no longer exists at (null)" UserInfo={NSLocalizedFailureReason=File no longer exists at (null)} ... i ve been stuck for 3 weeks this is really hurting my business we cannot deploy since. any one has alternative idea ?
1
0
1.1k
Jun ’23
"Unable to locate a valid DDI for the iOS platform" when pairing iPad with Xcode 15
I have Xcode 15.0 beta (15A5160n) and the iOS 17.0 beta (21A5248u) simulator installed on macOS 13.4 (22F66). I have iPadOS 17.0 (21A5248v) installed on my 8th generation iPad, and developer mode is enabled. Whenever I connect via USB and attempt to pair in the Xcode Devices and Simulator window, I get the error "Unable to locate a valid DDI for the iOS platform." I've tried unpairing and repairing multiple times. I've rebooted the iPad and my Mac. Nothing works.
5
3
2.3k
Jun ’23
Xcode 15 only produces a cycle inside build error
My app builds fine with Xcode 14, 13 and 12, but when attempting to build it with Xcode 15 there's an "Cycle inside MyApp; building could produce unreliable results." error. The output below isn't giving me any clues that I can see about what the cause of the cycle is nor how to fix it, any ideas? Cycle inside MyApp; building could produce unreliable results. Cycle details: → Target 'MyApp': ExtractAppIntentsMetadata ○ Target 'MyApp': CodeSign /Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Products/Debug-iphoneos/MyApp.app/Frameworks/3rdPartyFramework.framework ○ Target 'MyApp' has copy command from '/Users/me/Desktop/Checkouts/MyApp/theApp/MyApp/ios/3rdPartyFramework.framework' to '/Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Products/Debug-iphoneos/MyApp.app/Frameworks/3rdPartyFramework.framework' ○ Target 'MyApp' has copy command from '/Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Products/Debug-iphoneos/CallExtension.appex' to '/Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Products/Debug-iphoneos/MyApp.app/PlugIns/CallExtension.appex' ○ That command depends on command in Target 'MyApp': script phase “Add Git/CI Build Info” ○ Target 'MyApp' has process command with output '/Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Products/Debug-iphoneos/MyApp.app/Info.plist' ○ Target 'MyApp' has copy command from '/Users/me/Desktop/Checkouts/MyApp/theApp/MyApp/ios/3rdPartyFramework.framework' to '/Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Products/Debug-iphoneos/MyApp.app/Frameworks/3rdPartyFramework.framework' Raw dependency cycle trace: target: -> node: <all> -> command: <all> -> node: /Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Intermediates.noindex/ProjectA.build/Debug-iphoneos/MyApp.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata -> command: P0:target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:ExtractAppIntentsMetadata -> node: <target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--package-copy-files-phase> -> command: P0:::Gate target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--package-copy-files-phase -> node: <target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase11-copy-files> -> command: P0:::Gate target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase11-copy-files -> node: <CodeSign /Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Products/Debug-iphoneos/MyApp.app/Frameworks/3rdPartyFramework.framework> -> command: P0:target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:CodeSign /Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Products/Debug-iphoneos/MyApp.app/Frameworks/3rdPartyFramework.framework -> node: <Copy /Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Products/Debug-iphoneos/MyApp.app/Frameworks/3rdPartyFramework.framework> -> CYCLE POINT -> command: P0:target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:Copy /Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Products/Debug-iphoneos/MyApp.app/Frameworks/3rdPartyFramework.framework /Users/me/Desktop/Checkouts/MyApp/theApp/MyApp/ios/3rdPartyFramework.framework -> node: <target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase10--cp--copy-pods-resources> -> command: P0:::Gate target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase10--cp--copy-pods-resources -> node: /Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Intermediates.noindex/ProjectA.build/Debug-iphoneos/MyApp.build/InputFileList-F72A917A68CD9152103DBA60-Pods-MyApp-resources-Debug-input-files-037b34732b45cb31a2dcb00ffdfe9f5c-resolved.xcfilelist -> command: P2:target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:WriteAuxiliaryFile /Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Intermediates.noindex/ProjectA.build/Debug-iphoneos/MyApp.build/InputFileList-F72A917A68CD9152103DBA60-Pods-MyApp-resources-Debug-input-files-037b34732b45cb31a2dcb00ffdfe9f5c-resolved.xcfilelist -> node: <target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase9--cp--embed-pods-frameworks> -> command: P0:::Gate target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase9--cp--embed-pods-frameworks -> node: /Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Intermediates.noindex/ProjectA.build/Debug-iphoneos/MyApp.build/InputFileList-7E0D6830477C665FCC1083CC-Pods-MyApp-frameworks-Debug-input-files-36820974ee8465975a73448c9644b936-resolved.xcfilelist -> command: P2:target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6-:Debug:WriteAuxiliaryFile /Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Intermediates.noindex/ProjectA.build/Debug-iphoneos/MyApp.build/InputFileList-7E0D6830477C665FCC1083CC-Pods-MyApp-frameworks-Debug-input-files-36820974ee8465975a73448c9644b936-resolved.xcfilelist -> node: <target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase8-upload-crashlytics> -> command: P0:::Gate target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase8-upload-crashlytics -> node: <target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase7-upload-debug-symbols-to-sentry> -> command: P0:::Gate target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase7-upload-debug-symbols-to-sentry -> node: <target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase6-crashlytics> -> command: P0:::Gate target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase6-crashlytics -> node: <target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase5-copy-files> -> command: P0:::Gate target-MyApp-2a7e5ca2b3fd2ca0faca1487721e3ae07ceb6b36bcfc2fb90f69ac96de4975d6--fused-phase5-copy-files -> node: <Copy /Users/me/Library/Developer/Xcode/DerivedData/ProjectA-frqscjhianktlvbxgbzostesljpn/Build/Products/Debug-iphoneos/MyApp.app/PlugIns/CallExtension.appex> -> <snip> too large to post all
13
4
5.2k
Jun ’23
Siri Shortcuts, Sonoma, iOS 17 "No Flexible Matching Assets"
We have an app that uses Siri Shortcuts in iOS 16. WWDC '23 announced more flexible shortcut phrase matching in iOS 17 when apps are built with Xcode 15 run on Sonoma. I've downloaded and installed (Xcode and Sonoma) and rebuilt the app. I've ensured that "APP_SHORTCUTS_ENABLE_FLEXIBLE_MATCHING = YES" in the Build Settings. Unfortunately the App Shortcuts Preview Window shows the following error when I click on my build "No Flexible Matching Assets - This target is for a platform which is not supported by Flexible Matching or does not have Flexible Matching enabled" Other things I tried: I set our minimum deployment target to iOS 17 and built for an iOS 17 Simulator. Any ideas on how to get flexible matching for shortcut phrases?
5
4
1.1k
Jun ’23
ImageResource properties name and bundle as public getters
Hi, I love the idea of the ImageResource struct and it is a great error reduction to automatically provide an ImageResource for every Image in the asset catalog. I immediately started to adopt it. But I have a case where I would still need to have access to the name of the Image and the bundle. So I would suggest that you provide change the struct for ImageResource to have name and bundle as public getters. With this, there is still a safe way in the code to access the resource and still be able to use the name of the resource. So instead of generating: struct ImageResource: Hashable { /// An asset catalog image resource name. fileprivate let name: String /// An asset catalog image resource bundle. fileprivate let bundle: Bundle /// Initialize an `ImageResource` with `name` and `bundle`. init(name: String, bundle: Bundle) { self.name = name self.bundle = bundle } } Just generate it as: struct ImageResource: Hashable { /// An asset catalog image resource name. let name: String /// An asset catalog image resource bundle. let bundle: Bundle /// Initialize an `ImageResource` with `name` and `bundle`. init(name: String, bundle: Bundle) { self.name = name self.bundle = bundle } } The same applies to ColorResource as well. I have posted a feedback on this, but I am curious what others think about this? Am I the only one who still needs to have access to the name and the bundle of the ressource?
3
1
1.7k
Jun ’23
Are Swift Packages supported by String Catalogs?
Hello, do the String Catalogs (new in Xcode 15) support Swift Packages? I've tried adding a new Localizable.xcstrings (string catalog) file to my package's resources folder. Great! I then see this screen: All good so far. I then try to go and build my Swift Package... and nothing changes. The string catalog is never populated and I'm left with the same screen as above. So, do string catalogs not support packages at this time or am I doing something wrong? I was really hoping String Catalogs would work and save the day since Export Localizations also does not work for Swift packages that don't support macOS. 😔
7
0
3.9k
Jun ’23
xcode cloud ci_scripts failing with unexpected EOF while looking for matching `''
Hello , I am facing following error while building my project on xcode cloud using custom ci scripts . Error: ci_post_clone.sh script is failing with following error. Run command: 'cd /Volumes/workspace/repository/ci_scripts && /Volumes/workspace/repository/ci_scripts/ci_post_clone.sh' /Volumes/Task/ci_plan.env: line 2: unexpected EOF while looking for matching `'' /Volumes/Task/ci_plan.env: line 3: syntax error: unexpected end of file Here is my script : ci_post_clone.sh #!/bin/sh touch availCert-dev.p12 touch availCert-qa.p12 touch availCert-stage.p12 touch availCert-prod.p12 ls -la It also shows a warning message for shebang: The ci_post_clone.sh is executable but exited with 1 exit code. Make sure a valid shebang line is specified if the file is a script and that the interpreter specified in the shebang line is supported on Xcode Cloud. I will be appreciative for response on this issue. Thank You
3
1
2.8k
Jun ’23
Xcode 15 beta doesn't show my phone
I installed Xcode 15 without downloading iOS 17 simulator. When I opened my iOS app project in it, Xcode showed "iOS 17.0 not installed". This is as expected. My question, however, is that after I connected my phone, it's shown in "Manage run destination", but not in Xcode deployment target selection list. Does anyone know if this is as expected? Do I have to install iOS 17 simulator to get my device shown in Xcode? Thanks.
7
7
4.8k
Jun ’23
Run UI tests on multiple devices in succession?
The new test report, with the automatic video recording and scrubber, is great. I'm setting up different configurations for different languages to improve localization testing, but I was wondering if it was possible to make the simulator device type part of the configuration. For example, I'd like to have a single test plan with an "iPhone 14" test plan, an "iPad Air" test plan, etc. Then I would just press Cmd-U, and Xcode would run through each device in sequence, leaving me with videos of each test run that I could review in the test report. Is that possible?
2
0
1.9k
Jun ’23
Xcode 15 beta strings catalog
Hey, I'm trying the new strings catalog, and I have a script that I would like to run on the xcstrings json. My question is there some documentation on the json format (what keys can it have, and values)? Also, I didn't try it yet, but what if I set for example 50 languages and 1000 localization keys, is that json really scalable? It could grow quite large, would xcode still keep it as one big file, or it would somehow split it into chunks? Would be happy for any info from the dev teams, thanks!
2
1
1.9k
Jun ’23