Search results for

“file uri scheme”

81,707 results found

Post

Replies

Boosts

Views

Activity

Widget Extension scheme causes "failed to find valid container bundle" errors when ran
I've got a macOS app with a Widget Extension. When I try to run the scheme attached to this extension, WidgetKit Simulator unexpectedly quits and I get plenty of errors such as the ones below, that do not seem to be at all linked with the purpose nor the functionalities explicitly used by the app (nor the extension). That's what I get in Xcode's console: com.apple.siri.AssistantSettingsControls failed to find valid container bundle for file:///System/Library/ExtensionKit/Extensions/AssistantSettingsControlsExtension.appex/ at /System/Library/ExtensionKit/Extensions/AssistantSettingsControlsExtension.appex com.apple.settings-intents.LoginItemsIntents failed to find valid container bundle for file:///System/Library/ExtensionKit/Extensions/LoginItemsIntentsExtension.appex/ at /System/Library/ExtensionKit/Extensions/LoginItemsIntentsExtension.appex com.apple.SoftwareUpdate.SoftwareUpdateSettingsWidget failed to find valid container bundle for file:///System/Library/ExtensionKit
1
0
488
Dec ’24
Reply to Unable to use the Enterprise App Store Connect APIs from xcodebuild
@madsolar8582 xcodebuild clean archive -workspace MyApp.xcworkspace -scheme MyApp -configuration Release -archivePath results/artifacts/App.xcarchive -destination generic/platform=iOS -derivedDataPath build -allowProvisioningUpdates -authenticationKeyID **** -authenticationKeyIssuerID **** -authenticationKeyPath /Users/MyUser/MyKey.p8 Running xcodebuild with the authentication API keys only supports exporting archives. This workflow doesn't support building and archiving. To upload your binary, first archive your binary, create a plist file that configures archive exporting, gather your Enterprise Authentication API keys from the portal, then run the following command in Terminal: xcodebuild -exportArchive -archivePath -exportPath -exportOptionsPlist -allowProvisioningUpdates -authenticationKeyPath -authenticationKeyID -authenticationKeyIssuerID The -exportArchive option specifies that xcodebuild should distribute the archive specified by -archivePath using the options specified by -ex
Sep ’24
Reply to SwiftUI Previews Not Working In Swift Packages (XCode 15 beta 6)
I’m seeing the same “FailedToInstallAppError: Failed to install ”XCPreviewAgent.app” Could not install the preview host ”XCPreviewAgent.app” on iPhone 14 Pro” issue (with the same beta build of Xcode 15). In my case, I have a PreviewProvider declared in a file in a framework that is embedded in an app target. The current scheme is configured to launch the app.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Aug ’23
Reply to MTLDebugRenderCommandEncoder Error from Swift Charts
As a workaround you can try disabling Metal API Validation when editing the project's scheme under Options and see if that unblocks you. It may also be helpful if you could file a Feedback Assistant report for Swift Charts throwing this error with a reproducible sample or crash log when detached from the debugger. If you can do this please provide the feedback assistant ID here.
Topic: Graphics & Games SubTopic: General Tags:
Nov ’23
Reply to HELP WITH SUBSCRIPTIONS
If you are using SubscriptionStoreView with groupID overload, make sure the groupID entered is matching with the one in App Store Connect, not the one from your Xcode StoreKit configuration file. In Xcode testing, you need a StoreKit config file, and make sure to select Edit Scheme -> Options tab and select StoreKit Configuration to the correct configuration file. But this does not affect your App Store version. You might need to handle unfinished transactions. Take a look at sample code from WWDC25 on StoreKit 2.
Topic: App & System Services SubTopic: StoreKit Tags:
Jan ’26
Reply to UIPickerview as inputview to UITextfield shows weird behavior - shows Keyboard instead of picker selection for working code
How are you sure textDidBeginEditing is not called at all ?console log didn't print for me.Now I am not able to recreate the issue in the release scheme. Now it's working as expected.Not sure how it got fixed. maybe switching between schemes?Have you ever faced similar issues in the past due to any scheme/target issues?
Topic: Programming Languages SubTopic: Swift Tags:
Nov ’19
Reply to Command line Build Issue - xcodebuild - Xcode 15.1
I fixed the issue by deleting and re-adding the test scheme for one of my internal frameworks in the Schemes management screen. This resolved the problem with xcodebuild.
Replies
Boosts
Views
Activity
Sep ’24
Reply to Xcode debugger doesn't pause on breakpoints (simulator SDK < iOS 17)
Hey guys. There is temporary (I hope) solution to this issue: Scheme -> Edit Scheme Select Wait for executable to be launched Launch an app manually
Replies
Boosts
Views
Activity
Jan ’24
Widget Extension scheme causes "failed to find valid container bundle" errors when ran
I've got a macOS app with a Widget Extension. When I try to run the scheme attached to this extension, WidgetKit Simulator unexpectedly quits and I get plenty of errors such as the ones below, that do not seem to be at all linked with the purpose nor the functionalities explicitly used by the app (nor the extension). That's what I get in Xcode's console: com.apple.siri.AssistantSettingsControls failed to find valid container bundle for file:///System/Library/ExtensionKit/Extensions/AssistantSettingsControlsExtension.appex/ at /System/Library/ExtensionKit/Extensions/AssistantSettingsControlsExtension.appex com.apple.settings-intents.LoginItemsIntents failed to find valid container bundle for file:///System/Library/ExtensionKit/Extensions/LoginItemsIntentsExtension.appex/ at /System/Library/ExtensionKit/Extensions/LoginItemsIntentsExtension.appex com.apple.SoftwareUpdate.SoftwareUpdateSettingsWidget failed to find valid container bundle for file:///System/Library/ExtensionKit
Replies
1
Boosts
0
Views
488
Activity
Dec ’24
Reply to Is it allowed to hopover from one app from another app?
Links between apps are fine and and can be achieved by using a custom URL scheme. Apple have some great document on this to get you started.Using URL Schemes to Communicate with Apps- Tom
Replies
Boosts
Views
Activity
Jul ’15
Reply to Generating Memgraph with leaks tool in a UI test does not generate backtraces.
You can also do this in the scheme. In your app's scheme, enable Malloc Stack logging for Live Allocations. This is under Diagnostics. Make sure to enable this in the approprate operation, Run or Test.
Replies
Boosts
Views
Activity
Dec ’19
Reply to Display a popup over the native camera
this sounds like the user of a custom URL scheme. https://developer.apple.com/documentation/xcode/defining-a-custom-url-scheme-for-your-app or do you have something else in mind?
Replies
Boosts
Views
Activity
Dec ’24
Reply to Unable to use the Enterprise App Store Connect APIs from xcodebuild
@madsolar8582 xcodebuild clean archive -workspace MyApp.xcworkspace -scheme MyApp -configuration Release -archivePath results/artifacts/App.xcarchive -destination generic/platform=iOS -derivedDataPath build -allowProvisioningUpdates -authenticationKeyID **** -authenticationKeyIssuerID **** -authenticationKeyPath /Users/MyUser/MyKey.p8 Running xcodebuild with the authentication API keys only supports exporting archives. This workflow doesn't support building and archiving. To upload your binary, first archive your binary, create a plist file that configures archive exporting, gather your Enterprise Authentication API keys from the portal, then run the following command in Terminal: xcodebuild -exportArchive -archivePath -exportPath -exportOptionsPlist -allowProvisioningUpdates -authenticationKeyPath -authenticationKeyID -authenticationKeyIssuerID The -exportArchive option specifies that xcodebuild should distribute the archive specified by -archivePath using the options specified by -ex
Replies
Boosts
Views
Activity
Sep ’24
Reply to SwiftUI Previews Not Working In Swift Packages (XCode 15 beta 6)
I’m seeing the same “FailedToInstallAppError: Failed to install ”XCPreviewAgent.app” Could not install the preview host ”XCPreviewAgent.app” on iPhone 14 Pro” issue (with the same beta build of Xcode 15). In my case, I have a PreviewProvider declared in a file in a framework that is embedded in an app target. The current scheme is configured to launch the app.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to MTLDebugRenderCommandEncoder Error from Swift Charts
As a workaround you can try disabling Metal API Validation when editing the project's scheme under Options and see if that unblocks you. It may also be helpful if you could file a Feedback Assistant report for Swift Charts throwing this error with a reproducible sample or crash log when detached from the debugger. If you can do this please provide the feedback assistant ID here.
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to Cannot create a shared texture with iosurface on Apple silicon mac.
This worked for me You should be able to work around it by turning off Metal Validation in Scheme -> Edit Scheme -> Run -> Diagnostics -> Metal API Validation
Topic: Graphics & Games SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to HELP WITH SUBSCRIPTIONS
If you are using SubscriptionStoreView with groupID overload, make sure the groupID entered is matching with the one in App Store Connect, not the one from your Xcode StoreKit configuration file. In Xcode testing, you need a StoreKit config file, and make sure to select Edit Scheme -> Options tab and select StoreKit Configuration to the correct configuration file. But this does not affect your App Store version. You might need to handle unfinished transactions. Take a look at sample code from WWDC25 on StoreKit 2.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’26
Url Scheme to jump to "Add Account" in Apple Health > Health Records
Hi --Is there a url scheme to jump a user to the Add Account portion of Health Records in Apple Health app?Ie if the user wants to add their provider, I want to jump them directly to the part of Health where they can do it.I see x-apple-health:// as an option, but that doesn't jump to Add AccountThanks,kevin.
Replies
0
Boosts
0
Views
1.1k
Activity
Nov ’18
Xcode console color theme/scheme
Hi fellow Saplings,I'm wondering if there is any preference pane where I can set the colors/contents of the output console? I'd like to make my logs more readable (within XCode), and coloring would be quite nice (or changing timestamp formats, etc)...Thanks
Replies
1
Boosts
0
Views
4.8k
Activity
Aug ’17
Reply to UIPickerview as inputview to UITextfield shows weird behavior - shows Keyboard instead of picker selection for working code
How are you sure textDidBeginEditing is not called at all ?console log didn't print for me.Now I am not able to recreate the issue in the release scheme. Now it's working as expected.Not sure how it got fixed. maybe switching between schemes?Have you ever faced similar issues in the past due to any scheme/target issues?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’19
Reply to Target is null when adding an extension (Device Activity Monitor Extension)
Same Question: This scheme has been created for the “(null)” target. Choose Activate to use this scheme for building and debugging. Schemes can be chosen in the toolbar or Product menu. This problem caused the app extension not working. I used Xcode on another mac to create the app extesion and solve this problem. But not a good idea..
Replies
Boosts
Views
Activity
Oct ’23