Search results for

file uri scheme

79,839 results found

Post

Replies

Boosts

Views

Activity

Reply to How to reset Xcode instruments? / Time Profiler crashing iOS App
Look at the Profile action in the scheme editor for whichever scheme you are profiling with. The Info tab has an Instrument setting that should be set to Ask on Launch if you want to be able to select a different template when Instruments is launched by Xcode.As for your crash, please file a radar with more precise reproduction steps, device info, etc... If you can include the crash report for the app as well, that might prove useful.
Nov ’15
Automatic iOS Build: Scheme missing without opening XCode
Hi folks,for an iOS app, I am currently trying to run an automated iOS build from command line to generate the signed .ipa file.What the command line does, is:xcodebuild -xcconfig ../../buildSettings.xcconfig -scheme ProjectName -configuration Release -archivePath ../../build/ProjectName.xcarchive archive xcrun xcodebuild -exportArchive -exportOptionsPlist ../../exportPlist.plist -archivePath ../../build/ProjectName.xcarchive -exportPath ../../buildThe is that the XCode project is missing any scheme which is needed for the build with xcodebuild. This is because the xcodeproj is automatically generated by the cordova framework command line tools.I found out that XCode automatically generates new scheme files when the project is opened with XCode. What I did not find is any command line tool options to create that scheme. I think to open XCode from the command line and kill it again before building the project is a workaround and I would rather prefer a clean solutio
1
0
2.3k
May ’17
trusting the team_id codesign naming scheme?
I have a question about the amount of trust I should have in the team_id for an executable. I've been looking at the signing_id and team_id values in Apple's endpoint es_process_t, and almost all code follows the reverse naming scheme for their team_id. They have names like: com.getdropbox.dropbox com.microsoft.teams.helper com.apple.mdworker_shared com.apple.spctl But Google (at least) violates this reverse DNS pattern when signing many of their binaries. They have team IDs such as ksfetch GoogleSoftwareUpdateDaemon crashpad_handler Should I not trust the TLD (e.g., com.apple or com.microsoft) for the team ID? For example, could Google (or a malicious organization) sign their binary com.microsoft.ksfetch making me think it came from Microsoft?
3
0
1.5k
Apr ’23
WKWebView unable to load custom URL scheme with HTTPS
Hello, I would like to load local resources (images and JSON) in a WKWebView by defining a custom URL scheme and using WKURLSchemeHandler. I have a WKWebView that loads web content that will do an HTTP GET request on the URL scheme, which the WKWebView catches and returns an HTTP response along with the resource (in JSON) via my handler.This setup works when the website uses http, but fails when using https with the following error:[blocked] The page at [web page with https] was not allowed to display insecure content from [custom url scheme].I observed the error using Safari's development tool for viewing the loaded web content in a WKWebView.Safari seems to be blocking mixed content when a webpage is served over https. Is there a way to resolve this issue?
Topic: UI Frameworks SubTopic: UIKit Tags:
2
0
2.5k
Apr ’18
Reply to Xcode Cloud macOS won't run test scheme - "Failed to load the test bundle"
Additional info: I discovered that this is not just an issue with Xcode cloud, I can reproduce by just trying to run the testing target from the command-line locally, with xcodebuild -scheme (XCTest-scheme-name) test I get the same error shown above, which does not occur when I run the Test action from the IDE. In this case it's looking for the test file in the Debug .app build in derived data - and the file is actually there. Any suggestions? Is this a code-signing issue?
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’22
Reply to How to Alter Audio tracks of default AvPlayer
#EXT-X-MEDIA:NAME=eng-300,TYPE=AUDIO,LANGUAGE=eng”,GROUP-ID=audio,CODECS=mp4a.40.2,DEFAULT=YES,AUTOSELECT=YES,URI=300/2043 #EXT-X-MEDIA:NAME=eng-500,TYPE=AUDIO,LANGUAGE=eng”,GROUP-ID=audio,CODECS=mp4a.40.2,DEFAULT=NO,AUTOSELECT=YES,URI=500 These are Audio Streams are coming from Manifest Currently Player Showing like English,English so causing issue and for localisation also an issue from apple
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’22
Referer not being sent by WKWebView when using a custom scheme
YouTube now requires a Referer to be sent to be able to embed Youtube videos, otherwise the videos won't work. But WKWebView doesn't send a Referer when using a custom scheme, so Youtube videos stopped working in that case. This affects Ionic apps, both using Cordova or Capacitor. There's an open issue for Cordova and another one for Capacitor. In these apps, the app is served using a custom scheme like capacitor://localhost or ionic://localhost. I tried modifying the Ionic WebView source code to force adding a referrer to the URL loaded using WKWebView's loadRequest: [request addValue:@https://my.test.app forHTTPHeaderField:@Referer]; [_engineWebView loadRequest:request] But the Referer is still not sent in the Requests, I guess because the app is using a custom scheme (e.g. capacitor://localhost). However, if I modify this code to force loading an online URL (using https) instead of capacitor://localhost, then the my.test.app Referer is sent to the requests. Is there any way to ma
Topic: Safari & Web SubTopic: General Tags:
0
0
139
Nov ’25