So I have 2 schemes: prod and staging. And both have their own Debug and Release configuration settings (one of which is the bundle ID, eg. prod-Release: com.mycomp.myApp, prod-Debug: com.myComp.myApp.debug, staging-Release: com.myComp.myApp.staging.debug, staging-Debug: com.myComp.myApp.staging.debug). Now, there is a framework that is bound to each bundle ID. The framework is not from a So I need 4 instances of the same framework for each bundle ID. I tried separating the frameworks into folders and just link them whenever I need to run the appropriate scheme. Basically like so: {PROJECT_ROOT}FrameworksMyFrameworkprod-DebugMyFramework.xcframework {PROJECT_ROOT}FrameworksMyFrameworkprod-ReleaseMyFramework.xcframework {PROJECT_ROOT}FrameworksMyFrameworkstaging-DebugMyFramework.xcframework {PROJECT_ROOT}FrameworksMyFrameworkstaging-ReleaseMyFramework.xcframework I've added a Run script to create the link before Compile Sources step like so: cd ${SRCROOT}/zDefend if [ ${CONFIGURATION} = prod-D
Search results for
file uri scheme
78,735 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I'm trying to call a URL using URLSession to log out of an oauth2 session in swift in an iOS app. The URL is something like this:Notice that some parameters are URL Encoded* https://xxxxxx.auth.us-east-1.amazoncognito.com/logout?client_id=49jaf4a848hakh&logout_uri=myapp%3A%2F%2F&redirect_uri=myapp%3A%2F%2F&response_type=token I get a run time error using this URL in a data task that says:* Error Domain=NSURLErrorDomain Code=-1002 unsupported URL UserInfo={NSUnderlyingError=0x60000202ccf0 {Error Domain=kCFErrorDomainCFNetwork Code=-1002 (null)}, NSErrorFailingURLStringKey=myapp://, NSErrorFailingURLKey=myapp://, NSLocalizedDescription=unsupported URL} I already have myapp in my info.plist.* <array> <dict> <key>CFBundleTypeRole</key> <string>Editor</string> <key>CFBundleURLName</key> <string>com.xxx.yyy</string> <key>CFBundleURLSchemes</key> <array> <string>myapp</string> </array> </dict> </array
I was using the wrong scheme (whatever that is). To set the right scheme, use the Scheme menu (just to the right of the square Stop button on the menu bar).
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
@Scott Thanks for your response. We have a custom script which is added as part of Post-actions under Scheme -> Build. This iterates over all the .pbxproj using xUnique and applies sorts the modified files.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Could you do this by having multiple schemes and specifying the build configuration within the scheme. The 'Actions' section of the workflow let's you select which scheme to use.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags:
I think the standard approach is a custom URL scheme if your data is short enough to fit in a URL (not sure what limits, if any, there are on the length). There's also the keychain with the same sort of limit - it's meant for small bits of info like passwords.I believe as of iOS 8 you can now have a shared app container so apps from the same developer can share data. One app could write a file and the other app could read it. That, in combination with the URL scheme, may be a more flexible approach.
Topic:
Programming Languages
SubTopic:
General
Tags:
Xcode crashes when I want to open Scheme editor of C++ Console project. I tried reinstall, recreate project .. etc.I want to add option < test_inputs.txt to compiling command.I have Macbook Air 2015, OSX Yosemite.Thanks
Also seeing this on iOS10 final release and have filed bug rdar://28311471This seems like an undocumented functionality change with iOS 10.Workaround is to add Info.plist key LSApplicationQueriesSchemes as an Array, with item 0 being the URL scheme you want eg myappURL in your example, and any other items.Please file a bug too on bugreporter.apple.com!
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
No, your zipFiles array consists of a URL string (it has the file: scheme at the start of it), so it's not a file path.Whatever is producing your documentSTRINGS array is putting the wrong thing in that array.P.S. In general, do not use path-based APIs like removeItem(atPath:). Use URL-based APIs instead, such as removeItem(at:).
Topic:
Programming Languages
SubTopic:
Swift
Tags:
In Xcode Version 15.0 beta 5 Create a file called LLDBInitFile in the SRCROOT folder (the folder containing the project) Add this line to the file: settings set plugin.process.gdb-remote.packet-timeout 300 Restart Xcode and try again In the Edit Scheme -> Run > Info Tab there is a field to locate the LLDBInitFile but is disabled.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I have a requirement to launch an app from another app (there is no requirement to launch the app from a website), and if its not installed then for the user to be redirected to the app store to download the app. The app already has a custom url scheme implemented, however the documentation and tutorials in this area are confusing and unclear. In order to launch the app, the custom url scheme will provide that, however, in order to get the redirection to the app store then firstly does the custom url scheme have to be replaced with universal links? Secondly, is it necessary to have a webpage that links to the app store? Is it possible to get this behaviour without having a website? Is it the case that Apple doesn't provide this functionality and developers have to have the hassle of hosting a website purely just for the sake of redirecting to the App Store?
Hi, what is the process for providing justification for the apps outlined in our whitelist for canOpenURL. Will we need to provide this detail in iTunes Connect when we submit or elsewhere? Thanks.
The way I resolved the problem is the following: In Products -> Schemes -> Manage Schemes, I created a new scheme with the application instead of the widget extension (which was the default scheme made by Xcode). When I built with this scheme, no error showed up. I think it solved the problem, I just can't test it right now because my developer license isn't activated yet. Thanks to Jackson-G for the help!
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
Hello, my name is David. I'm trying to test XCode Cloud with Version 14.0 beta (14A5228q) in a MacBookPro. I have an issue: as a developer with my Apple ID i have access to several companies and Apps (managed by me) in the Apple Store Connect. But when i try to do Product > XCode Cloud > Create workflow allways show the first company that i have access and cant switch to another one. Can you tell me if this is a known bug please? How can I create a Scheme but with the account/company/app that I want, please? Thank you very much and greetings.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
Xcode
Xcode Cloud
I have this same issue with our Watch app schemes and have also submitted a feedback request (FB9832417) the resolution status has been updated to Potential fix identified - For a future OS update so hopefully we'll have a fix soon. Removing it from the repo doesn't work for us since it results in that scheme not showing up in the schemes drop-down. Using git update-index --skip-worktree doesn't work well on a large team since if everyone doesn't do it then it causes issues, and the docs for that command warn that it isn't meant for this type of use case. My latest workaround is to add a pre-commit hook that discards the changes to those scheme files before committing so that it doesn't show up in our pull requests at least. Still shows up in the local diff before committing which is annoying but it's the best i've been able to work out so far that doesn't depend on everyone aligning on the same behavior.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: