Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Reply to Why the navigationBar/shouldPop is no more called?
This is still an issue with Xcode 16.2 and iOS 18.2. The UINavigationBarDelegate method navigationBar(_:shouldPop:) is not called as expected when running an app in debug mode / with debug executable checked (attached to Xcode). It works as expected and according to documentation only in release builds or when unchecking debug executable in Product -> Scheme -> Edit Scheme… -> Run -> Info This issue causes confusion during development and testing. Perhaps the accepted answer should not be accepted, since it is still an issue (that it doesn't work according to documentation in debug mode)?
Topic: Programming Languages SubTopic: Swift Tags:
Mar ’25
I sent Proposal for Apple Silicon.app
Today, I submitted the following proposal to Apple through the Feedback Assistant app. I'm not confident in how I phrased it—I'd appreciate any thoughts or feedback from fellow developers. Proposal: Apple Silicon.app for macOS with Apple Silicon – Enhancing Performance and Swap Memory Control This suggestion has been machine translated into English, so there may be some discrepancies. If you need the actual text, please feel free to reply to this or ask at the email address below. If the author of this proposal is to be credited, I would appreciate being listed under the nickname “DiamondGotCat,” where possible. Summary: - Currently, Apple Silicon-equipped Macs have many system-level features locked down or restricted. - This proposal suggests a new application that enables certain advanced controls for power users. - Tentatively named Apple Silicon.app, the name may be subject to change if a more suitable alternative arises. - I propose this application be added as a pre-installed utility on compat
1
0
144
Mar ’25
App Crashes on TestFlight but Works in Simulator (Expo React Native App)
Hi, I’m experiencing an issue where my React Native (Expo) app crashes immediately in TestFlight after launching, but it works fine in Expo Go and the iOS Simulator. This is my first time building an IOS app, so I'm not sure where I'm going wrong. Are there known issues with JS bundle loading, native module compatibility, or API entitlements that could be causing this? What tools or logs should I use to track the exact source of failure? Any guidance would be greatly appreciated! Thank you. Steps Taken: The app runs fine in Expo Go (npx expo start --no-dev --minify) and in the iOS Simulator (npx expo run:ios --clean). I also did (npx expo-doctor) and it passed all 15 checks. After building with EAS (eas build --platform ios --profile production), the TestFlight build crashes on launch. I checked Xcode logs (Devices & Simulators > View Device Logs) and found this error: `Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: SIGNAL 6 Abort trap: 6
4
0
335
Mar ’25
Reply to App Crashes on TestFlight but Works in Simulator (Expo React Native App)
Evan Bacon from the Expo team here 👋 This can often happen when a third-party library is missing an API key and throws an exception in production. Try creating a local production iOS build in release mode: npx expo run:ios --configuration Release this will be a nearly identical build to what goes into TestFlight. You can also open the project in Xcode, and customize the scheme to build with the Release configuration. While we do stream the simctl errors to the CLI, building from Xcode directly in cases like this can yield more debug info.
Mar ’25
Xcode 16.2 Framework Signing Issues with Cloud Managed Developer ID in Automated Builds
Xcode 16.2 Framework Signing Issues with Cloud Managed Developer ID in Automated Builds Issue Description After upgrading from Xcode 15.4 to 16.2, our macOS app's frameworks are failing notarization with the error The binary is not signed with a valid Developer ID certificate for embedded frameworks when building through fastlane. This worked correctly in Xcode 15.4. Importantly, manually archiving and notarizing through the Xcode GUI still works correctly - the issue only occurs during automated builds. Build Configuration We use fastlane to build and notarize our macOS app: build_mac_app( scheme: 'Runner', export_method: developer-id, xcargs: '-allowProvisioningUpdates' ) This generates the following xcodebuild commands: Archive: xcodebuild -workspace ./Runner.xcworkspace -scheme Runner -destination 'generic/platform=macOS' -archivePath /path/to/archive -allowProvisioningUpdates archive Export with plist: xcrun -exportArchive -exportOptionsPlist '/path/to/plist' -archivePath /path/to/archi
3
0
836
Feb ’25
Xcode cloud: xcode build archive error
Hello! I'm trying to build my flutter app through xcode cloud, but im getting following error: Command exited with non-zero exit-code: 65 Run command: 'xcodebuild archive -workspace /Volumes/workspace/repository/ios/Runner.xcworkspace -scheme Runner -destination generic/platform=iOS -archivePath /Volumes/workspace/build.xcarchive -derivedDataPath /Volumes/workspace/DerivedData -resultBundleVersion 3 -resultBundlePath /Volumes/workspace/resultbundle.xcresult -resultStreamPath /Volumes/workspace/tmp/resultBundleStream97053cd8-9db9-41c6-9dc8-a9fc142bacb6.json -IDEPostProgressNotifications=YES CODE_SIGN_IDENTITY=- AD_HOC_CODE_SIGNING_ALLOWED=YES CODE_SIGN_STYLE=Automatic DEVELOPMENT_TEAM={development_team_here} COMPILER_INDEX_STORE_ENABLE=NO -hideShellScriptEnvironment' When i build locally, it works fine, tried both debug/release modes, but in the cloud archive fails. Also have following message in xcode cloud: `'Flutter/Flutter.h' file not found GeneratedPluginRegistrant.h:10` failed to emit precompile
1
0
219
Mar ’25
App Store Connect: How to See Sales/Proceeds by Campaign Link or Promo Code?
I'm looking to understand what total amount of money (USD) per month is made from campaign links and promo codes. Here is what I've tried and the problems I'm encountering. In the analytics page I see I can filter/group sales and proceeds by campaign link. This would be sufficient, but it looks like the amounts are in dollars and neglect cents, even when exporting to CSV. I don't see any campaign link information in reports. I've generated sales reports, such as subscriber information, and I can see subscriber sales/proceeds by promo code, but the proceeds amounts are in local currency, and I don't know what this translated to in USD for monthly revenue. Any help would be much appreciated. Ideally what I'd like to find is USD in sales/proceeds for a specific campaign link and/or promo code per month.
1
0
301
Dec ’24
iOS 18.4 changed for DMA / EU coming to Switzerland?!
I read that 18.4 beta allows to changes default payment, default navigation, default translation etc app. Now I have the question will these changes come to Switzerland? Can someone with the beta confirm it? I'm asking because as example my GF iPhone doesn't allow her to install an alternative store (epic games store), because she isn't in the EU, but she can delete all Apple Apps including the Apple Store according to the DMA / EU law. So, are these changes coming?
1
0
232
Mar ’25
who can help me?
Why is it so hard to register a developer account in China? As an iOS developer for 12 years, why is it so hard for me to register a developer account in China? Can Apple improve your service? If there is something wrong with me, I'm willing to accept the penalty of not being able to register. But I submitted all the information you need and then you tell me I can't register. I also just bought a new Macbook Air 2 months ago and I'm willing to contribute my income to you guys. But how are you treating me? Who can help me? Translated with DeepL.com (free version)
1
0
127
Mar ’25
[Suggestion] SwiftUI convenience environment navigation functions
I've been thinking a lot about how navigation and presentation are managed in SwiftUI, and I wanted to propose an idea for a more streamlined approach using environment values. Right now, handling navigation can feel fragmented — especially when juggling default NavigationStack, modals, and tab selections. What if SwiftUI provided a set of convenience environment values for these common actions? Tabs @Environment(.selectedTab) var selectedTab @Environment(.selectTab) var selectTab selectedTab: Read the current tab index selectTab(index: Int): Programmatically switch tabs Stack Navigation @Environment(.stackCount) var stackCount @Environment(.push) var push @Environment(.pop) var pop @Environment(.popToRoot) var popToRoot stackCount: Read how many views are in the navigation stack push(destination: View): Push a new view onto the stack pop(last: Int = 1): Pop the last views popToRoot(): Return to the root view Modals @Environment(.sheet) var sheet @Environment(.fullScreenCover) var fullScreenCover @Environment
4
0
104
Mar ’25
Reply to DNS Proxy network extension doesn't start even after saving preferences successfully
Interestingly, when I get the error delegate: Submitting request to activate system extension... Request failed with error: The operation couldn’t be completed. (OSSystemExtensionErrorDomain error 1.) I do see a correlated crash from sysextd Process: sysextd [88810] Path: /System/Library/Frameworks/SystemExtensions.framework/Versions/A/Helpers/sysextd Identifier: sysextd Version: ??? Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 0 Date/Time: 2025-03-25 20:41:37.0472 -0300 OS Version: macOS 14.7 (23H124) Report Version: 12 Anonymous UUID: 603FADAE-E494-E147-DCDB-B19084A67DC1 Sleep/Wake UUID: E39090CA-174C-4227-8E0F-10F5584128BB Time Awake Since Boot: 80000 seconds Time Since Wake: 284 seconds System Integrity Protection: enabled Crashed Thread: 2 Dispatch queue: sysextd.extension_manager Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x0000000104c789e4 Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5 Terminating Process: exc handler [88810] And whi
Mar ’25
Reply to Xcode copy release build signed target
Thank you for explaining. We discussed your case here and we recommend doing an archive build and then copying the app out of the archive. We expect this will give you the best results using code paths that are currently supported. You can copy the app out of the .xarchive by changing the file name ending from .xarchive to .zip. Then you can open the .zip file and copy the app into the Applications folder. Note ~ Searching on the web I found some folks talking about duplicating the run Scheme and changing the Build Configuration to Release and using the result from that. That may work in some cases, but it may not produce correct results in others. This is not a supported code path. We do not recommend using this duplicate Scheme approach.
Mar ’25
Reply to BGTaskScheduler crashes on iOS 18.4
The SwiftUI .backgroundTask modifier can't be there at all otherwise the crash will persist No, that's not correct. What complicates the conversation here is we're using the term background task for two different APIs which then partially overlap. Those are: SwiftUIs backgroundTask API, which is provides of standard code pattern for a number of unrelated APIs that can run in the background. The BackgroundTask framework, more specifically BGAppRefreshTask. The crash here is specifically caused by how SwiftUI is registering BGAppRefreshTask's, however, that also mean that it should only effect appRefresh, not the other task types. Not having the modifier means the old identifier won't be registered and thus if the old background task runs when the user updates but doesn't open the app, it will crash as the launch handler hasn't been registered I don't think this is an issue either. Internally, the BackgroundTask framework has a built in enforcement system which requires: Your app must declare the identifiers it
Mar ’25
Reply to Why the navigationBar/shouldPop is no more called?
This is still an issue with Xcode 16.2 and iOS 18.2. The UINavigationBarDelegate method navigationBar(_:shouldPop:) is not called as expected when running an app in debug mode / with debug executable checked (attached to Xcode). It works as expected and according to documentation only in release builds or when unchecking debug executable in Product -> Scheme -> Edit Scheme… -> Run -> Info This issue causes confusion during development and testing. Perhaps the accepted answer should not be accepted, since it is still an issue (that it doesn't work according to documentation in debug mode)?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’25
I sent Proposal for Apple Silicon.app
Today, I submitted the following proposal to Apple through the Feedback Assistant app. I'm not confident in how I phrased it—I'd appreciate any thoughts or feedback from fellow developers. Proposal: Apple Silicon.app for macOS with Apple Silicon – Enhancing Performance and Swap Memory Control This suggestion has been machine translated into English, so there may be some discrepancies. If you need the actual text, please feel free to reply to this or ask at the email address below. If the author of this proposal is to be credited, I would appreciate being listed under the nickname “DiamondGotCat,” where possible. Summary: - Currently, Apple Silicon-equipped Macs have many system-level features locked down or restricted. - This proposal suggests a new application that enables certain advanced controls for power users. - Tentatively named Apple Silicon.app, the name may be subject to change if a more suitable alternative arises. - I propose this application be added as a pre-installed utility on compat
Replies
1
Boosts
0
Views
144
Activity
Mar ’25
App Crashes on TestFlight but Works in Simulator (Expo React Native App)
Hi, I’m experiencing an issue where my React Native (Expo) app crashes immediately in TestFlight after launching, but it works fine in Expo Go and the iOS Simulator. This is my first time building an IOS app, so I'm not sure where I'm going wrong. Are there known issues with JS bundle loading, native module compatibility, or API entitlements that could be causing this? What tools or logs should I use to track the exact source of failure? Any guidance would be greatly appreciated! Thank you. Steps Taken: The app runs fine in Expo Go (npx expo start --no-dev --minify) and in the iOS Simulator (npx expo run:ios --clean). I also did (npx expo-doctor) and it passed all 15 checks. After building with EAS (eas build --platform ios --profile production), the TestFlight build crashes on launch. I checked Xcode logs (Devices & Simulators > View Device Logs) and found this error: `Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Termination Reason: SIGNAL 6 Abort trap: 6
Replies
4
Boosts
0
Views
335
Activity
Mar ’25
Reply to App Crashes on TestFlight but Works in Simulator (Expo React Native App)
Evan Bacon from the Expo team here 👋 This can often happen when a third-party library is missing an API key and throws an exception in production. Try creating a local production iOS build in release mode: npx expo run:ios --configuration Release this will be a nearly identical build to what goes into TestFlight. You can also open the project in Xcode, and customize the scheme to build with the Release configuration. While we do stream the simctl errors to the CLI, building from Xcode directly in cases like this can yield more debug info.
Replies
Boosts
Views
Activity
Mar ’25
Reply to Translation framework error.
Hello. It's strange, but the translation feature in my app works again. I changed nothing. It started working again also for my friends on their devices. Could you please tell me what is FB number and the can I find Feedback Assistant ? Thank you.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Mar ’25
Xcode 16.2 Framework Signing Issues with Cloud Managed Developer ID in Automated Builds
Xcode 16.2 Framework Signing Issues with Cloud Managed Developer ID in Automated Builds Issue Description After upgrading from Xcode 15.4 to 16.2, our macOS app's frameworks are failing notarization with the error The binary is not signed with a valid Developer ID certificate for embedded frameworks when building through fastlane. This worked correctly in Xcode 15.4. Importantly, manually archiving and notarizing through the Xcode GUI still works correctly - the issue only occurs during automated builds. Build Configuration We use fastlane to build and notarize our macOS app: build_mac_app( scheme: 'Runner', export_method: developer-id, xcargs: '-allowProvisioningUpdates' ) This generates the following xcodebuild commands: Archive: xcodebuild -workspace ./Runner.xcworkspace -scheme Runner -destination 'generic/platform=macOS' -archivePath /path/to/archive -allowProvisioningUpdates archive Export with plist: xcrun -exportArchive -exportOptionsPlist '/path/to/plist' -archivePath /path/to/archi
Replies
3
Boosts
0
Views
836
Activity
Feb ’25
Xcode cloud: xcode build archive error
Hello! I'm trying to build my flutter app through xcode cloud, but im getting following error: Command exited with non-zero exit-code: 65 Run command: 'xcodebuild archive -workspace /Volumes/workspace/repository/ios/Runner.xcworkspace -scheme Runner -destination generic/platform=iOS -archivePath /Volumes/workspace/build.xcarchive -derivedDataPath /Volumes/workspace/DerivedData -resultBundleVersion 3 -resultBundlePath /Volumes/workspace/resultbundle.xcresult -resultStreamPath /Volumes/workspace/tmp/resultBundleStream97053cd8-9db9-41c6-9dc8-a9fc142bacb6.json -IDEPostProgressNotifications=YES CODE_SIGN_IDENTITY=- AD_HOC_CODE_SIGNING_ALLOWED=YES CODE_SIGN_STYLE=Automatic DEVELOPMENT_TEAM={development_team_here} COMPILER_INDEX_STORE_ENABLE=NO -hideShellScriptEnvironment' When i build locally, it works fine, tried both debug/release modes, but in the cloud archive fails. Also have following message in xcode cloud: `'Flutter/Flutter.h' file not found GeneratedPluginRegistrant.h:10` failed to emit precompile
Replies
1
Boosts
0
Views
219
Activity
Mar ’25
App Store Connect: How to See Sales/Proceeds by Campaign Link or Promo Code?
I'm looking to understand what total amount of money (USD) per month is made from campaign links and promo codes. Here is what I've tried and the problems I'm encountering. In the analytics page I see I can filter/group sales and proceeds by campaign link. This would be sufficient, but it looks like the amounts are in dollars and neglect cents, even when exporting to CSV. I don't see any campaign link information in reports. I've generated sales reports, such as subscriber information, and I can see subscriber sales/proceeds by promo code, but the proceeds amounts are in local currency, and I don't know what this translated to in USD for monthly revenue. Any help would be much appreciated. Ideally what I'd like to find is USD in sales/proceeds for a specific campaign link and/or promo code per month.
Replies
1
Boosts
0
Views
301
Activity
Dec ’24
iOS 18.4 changed for DMA / EU coming to Switzerland?!
I read that 18.4 beta allows to changes default payment, default navigation, default translation etc app. Now I have the question will these changes come to Switzerland? Can someone with the beta confirm it? I'm asking because as example my GF iPhone doesn't allow her to install an alternative store (epic games store), because she isn't in the EU, but she can delete all Apple Apps including the Apple Store according to the DMA / EU law. So, are these changes coming?
Replies
1
Boosts
0
Views
232
Activity
Mar ’25
who can help me?
Why is it so hard to register a developer account in China? As an iOS developer for 12 years, why is it so hard for me to register a developer account in China? Can Apple improve your service? If there is something wrong with me, I'm willing to accept the penalty of not being able to register. But I submitted all the information you need and then you tell me I can't register. I also just bought a new Macbook Air 2 months ago and I'm willing to contribute my income to you guys. But how are you treating me? Who can help me? Translated with DeepL.com (free version)
Replies
1
Boosts
0
Views
127
Activity
Mar ’25
Variable rename - Xcode 16.2
When renaming a variable in the active scheme, it's not renamed for the non active ones. As a result when you have code that operates in both schemes (with #if os() conditions) a compile time error is introduced. Is this an Xcode bug or expected behaviour?
Replies
1
Boosts
0
Views
269
Activity
Mar ’25
[Suggestion] SwiftUI convenience environment navigation functions
I've been thinking a lot about how navigation and presentation are managed in SwiftUI, and I wanted to propose an idea for a more streamlined approach using environment values. Right now, handling navigation can feel fragmented — especially when juggling default NavigationStack, modals, and tab selections. What if SwiftUI provided a set of convenience environment values for these common actions? Tabs @Environment(.selectedTab) var selectedTab @Environment(.selectTab) var selectTab selectedTab: Read the current tab index selectTab(index: Int): Programmatically switch tabs Stack Navigation @Environment(.stackCount) var stackCount @Environment(.push) var push @Environment(.pop) var pop @Environment(.popToRoot) var popToRoot stackCount: Read how many views are in the navigation stack push(destination: View): Push a new view onto the stack pop(last: Int = 1): Pop the last views popToRoot(): Return to the root view Modals @Environment(.sheet) var sheet @Environment(.fullScreenCover) var fullScreenCover @Environment
Replies
4
Boosts
0
Views
104
Activity
Mar ’25
Reply to DNS Proxy network extension doesn't start even after saving preferences successfully
Interestingly, when I get the error delegate: Submitting request to activate system extension... Request failed with error: The operation couldn’t be completed. (OSSystemExtensionErrorDomain error 1.) I do see a correlated crash from sysextd Process: sysextd [88810] Path: /System/Library/Frameworks/SystemExtensions.framework/Versions/A/Helpers/sysextd Identifier: sysextd Version: ??? Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 0 Date/Time: 2025-03-25 20:41:37.0472 -0300 OS Version: macOS 14.7 (23H124) Report Version: 12 Anonymous UUID: 603FADAE-E494-E147-DCDB-B19084A67DC1 Sleep/Wake UUID: E39090CA-174C-4227-8E0F-10F5584128BB Time Awake Since Boot: 80000 seconds Time Since Wake: 284 seconds System Integrity Protection: enabled Crashed Thread: 2 Dispatch queue: sysextd.extension_manager Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000001, 0x0000000104c789e4 Termination Reason: Namespace SIGNAL, Code 5 Trace/BPT trap: 5 Terminating Process: exc handler [88810] And whi
Replies
Boosts
Views
Activity
Mar ’25
Reply to Xcode copy release build signed target
Thank you for explaining. We discussed your case here and we recommend doing an archive build and then copying the app out of the archive. We expect this will give you the best results using code paths that are currently supported. You can copy the app out of the .xarchive by changing the file name ending from .xarchive to .zip. Then you can open the .zip file and copy the app into the Applications folder. Note ~ Searching on the web I found some folks talking about duplicating the run Scheme and changing the Build Configuration to Release and using the result from that. That may work in some cases, but it may not produce correct results in others. This is not a supported code path. We do not recommend using this duplicate Scheme approach.
Replies
Boosts
Views
Activity
Mar ’25
Reply to BGTaskScheduler crashes on iOS 18.4
The SwiftUI .backgroundTask modifier can't be there at all otherwise the crash will persist No, that's not correct. What complicates the conversation here is we're using the term background task for two different APIs which then partially overlap. Those are: SwiftUIs backgroundTask API, which is provides of standard code pattern for a number of unrelated APIs that can run in the background. The BackgroundTask framework, more specifically BGAppRefreshTask. The crash here is specifically caused by how SwiftUI is registering BGAppRefreshTask's, however, that also mean that it should only effect appRefresh, not the other task types. Not having the modifier means the old identifier won't be registered and thus if the old background task runs when the user updates but doesn't open the app, it will crash as the launch handler hasn't been registered I don't think this is an issue either. Internally, the BackgroundTask framework has a built in enforcement system which requires: Your app must declare the identifiers it
Replies
Boosts
Views
Activity
Mar ’25