The following code crashes in XCode when run on a 'Release' scheme to crash (on any iDevice).It crashes with EXC_BAD_ACCESS(code=EXC_I386_GPFLT) trying to do a 'swift_arrayDestroy' with Xcode on line 19.Note : It does NOT crash when running on a 'Debug' scheme.+) Can anyone else reproduce this (just cut an paste -> Run -> click a few times on the RED Box that appears on the screen).+) Any ideas if this is a program error or an Xcode Release optimisation bug?+) Does anyone know if '@objc func touchDown(_ sender: MY_UIButton)' is safe?Should I use 'Any' .. and then attempt to cast to 'MY_UIButton'.Thanks,AJ.import UIKit var g_but = MY_UIButton(frame: CGRect(x: 100, y: 100,width: 200,height: 200)) let g_false = false let opt_zero : Int? = 0 class EMPTY_CLASS {} let g_empty_arr : [EMPTY_CLASS] = [] class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() g_but.backgroundColor = UIColor.red view.addSubview(g_but) g_but.addTarget(g_but,action: #selector(MY_U
Search results for
file uri scheme
79,839 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi,I have noticed that when I use an AssetId that is greater than 16 characters long I see that the initData is Safari seems to include some random characters at the beginning - e.g $skd://....This breaks the AssetId extraction logic in the demo app. Here is the logging (added by me) from playback of the example content twelveAssetID : skd://twelveHostname :twelveAnd with playlist file edited so that assetID is twelvetwelveAssetID : $skd://twelvetwelveHostname :192.168.8.69 - this is the private IP that I am hosting the sample app on...OSX 10.11.6Safari 9.1.2Has anyone else seen this?Thanks,
I'm filing a radar on this issue, as the simulator should load products from AppStoreConnect if a StoreKit configuration profile has not been specified in the Scheme you are running.
Topic:
App & System Services
SubTopic:
StoreKit
Tags:
Hi,We are from MasterCard iOS development team.We have a web application from which we are opening iOS apps using custom url schemes. This functionality works fine for the all the browser (Safari/chrome).But When we tried to open the same web app from Google Search app and then if we try to open iOS app on the same device using custom url schemes it does not do anything.From our research we are assuming Google search app in iOS is a native iOS app and has embedded web view.And according to Apple if we try to open custom url schemes from embedded web view, we must implement web view delegates in the app which is embedding this web view.Could you please give us more inputs or the resolution for opening the apps using custom url schemes from iOS Google Search app.
Update: notes to self: looks like it may be a hacky-do of using a uri to open system preferences, polling until a known-inaccessible file becomes accessible, and then forking a call to authopen, dupilating a descriptor, and carrying on... https://github.com/raspberrypi/rpi-imager/tree/qml/src/mac https://github.com/MacPaw/PermissionsKit/blob/master/PermissionsKit/Private/FullDiskAccess/MPFullDiskAccessAuthorizer.m#L140
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Are you talking about two equivalent video versions - one with someone signing the audio? If so, here's the simplest example I can think of - two video options, each with three bit rates and also trick play versions of same. The audio is multiplexed with the video to make the playlist simpler. You end up with a group-id for each video variant. Note the lack of URI for the Plain option - so that option is the same as the variant. I'm not sure how well third-party players will handle this. #EXTM3U #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=500kbs,NAME=WithSign,AUTOSELECT=YES,DEFAULT=NO,URI=Item/WithSign/500kbs-AV/prog_index.m3u8 #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=500kbs,NAME=Plain,AUTOSELECT=YES,DEFAULT=YES #EXT-X-STREAM-INF:BANDWIDTH=750000,CODECS=mp4a.40.2, avc1.4d401e,VIDEO=500kbs Item/Plain/500kbs-AV/prog_index.m3u8 #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=1Mbs,NAME=WithSign,AUTOSELECT=YES,DEFAULT=NO,URI=Item/WithSign/1Mbs-AV/prog_index.m3u8 #EXT-X-MEDIA:TYPE=VIDEO,GROUP-ID=1Mbs,NAME=Plain,AUTOSELECT
Topic:
Media Technologies
SubTopic:
General
Tags:
I have a FileWrapper that holds a bunch of child documents. FileWrapper automatically handles assigning unique filenames to duplicates, but it does so in a pretty ugly manner – rather than, for example, Untitled, Untitled 2, Untitled 3 it gives me:Untitled, and then 1__#$!@%!#__Untitled, 2__#$!@%!#__UntitledIs there a better way to assign names to these? Ideally I'd be able to supply a desired scheme for unique-ifying filenames, like a format string. Otherwise, what's the best way to ensure a child wrapper gets a sane suffix when there's duplicates?
@jaguth Could you explain what you've done? I tried to use the service id client id but I'm still receiving invalid redirect uri? Thnaks
Topic:
App & System Services
SubTopic:
General
Tags:
How to create a scheme that should have the ability to provide public methods that are only accessible to the main application. For example, I have my Main Test project on XCode, I added my custom local Dependency Swift Package SDK, and I want to create a scheme only for access to the swift classes SDK and SDK+TestApp, the main project must not access/could to any other file, I research in the official documentation but are the main example, I'm looking for theses specifically details, any help, please?
So it does help to drag the file to the right icon... (since I was debugging it under Xcode, but had the real one in my dock). That seems to do it better, but weirdly, it's not happening the first time I drag a file onto the icon. Also, I have this in the main view: .handlesExternalEvents(preferring: [my-scheme], allowing: [my-scheme]) // activate existing window if exists .onOpenURL { url in // stuff } and both the .openURL and the app delegate method are being triggered. I think this is probably due to confusion on my part, though.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags:
I am currently using Xcode 15.2, but I am sure this issue exists on other versions too. If you have any packages made pre Xcode 14.3, i.e. ones without an automatically made test plan, then the following issue happens: Let's call the package in this example PackageX, and you have with this a corresponding test scheme, called PackageXTests. PackageXTests is a test scheme saved on disk, that is on the test scheme of PackageX, meaning that when you test the package directly, it will run the test scheme. Now, with test plans becoming the norm, we want to move away from having these test schemes on disk and instead align old packages with new and have each package's tests dictated by its own corresponding test plan, the same way that any newly made package would work. So we click 'convert to test plan', success we have a test plan, we delete the test scheme from the disk. All appears to be working fine. However, if you now swap branch and come back, the test pl
To integrate my iOS app into the Square point of sale app, I am required to specify a URL scheme in the URL Types in the Info tab of General settings in Xcode.I have no idea what to specify. Seems it will be used so the Square app can return to my app after it does its processing.Any help would be appreciated, thanks!
I get a zero byte archive file when usingxcodebuild -workspace mako.xcworkspace -scheme 'mako mobile' -archivePath '~/Desktop/app_releases/archive' archiveWhat am I missing here?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Hi, we're having the same issue. Did you manage to fix it? iOS seems to have problems with allow-same-origin and blob: uris. Best regards
Topic:
Safari & Web
SubTopic:
General
Tags:
This was exactly my issue, too. I had to configure my local dev environment for https and then set the redirect uri to be https, and it worked. Thank you so much for the help!
Topic:
App & System Services
SubTopic:
General
Tags: