Search results for

“translate scheme”

6,658 results found

Post

Replies

Boosts

Views

Activity

Reply to How to test watchkit app together with paired iOS app?
Find this in another thread, maybe the answer, haven't tested yet...vikingAug 31, 2015 11:30 AM(in response to coinbump)The WWDC talk Building Watch Apps discusses how to do this.Basically select the Watch App as the scheme in xcode, hit build+run which will build the iOS app and WatchKit app, install the WatchKit app on to the Watch and attach the debugger to the WatchKit Extension. Then in xcode select the iOS app in the scheme selector and select the iPhone as the target device, launch the iOS app by tapping the app icon on the phone and in xcode in the menu bar select Debug > Attach to Process and select your app in the list. This should result in having xcode attached to both processes at the same time.If you want to debug something early in the iOS app's lifecycle you can select Debug > Attach to Process by PID or Name... and type in the process name of the iOS app prior to launching it manually. This way the debugger will be attached right when the app launches.Hope that helps
Topic: App & System Services SubTopic: General Tags:
Oct ’15
Reply to Cross-platform subscriptions
You most likely will not want an autorenewable. It is very easy to renew a non-renewing subscription - the app senses it has expired and tells the user to 'tap here to renew'. It takes about 30 seconds every month/3 months/6 months. You will want to read the Guidelines especially 11.14 to see if you can use option 2.While some users use both iOS and Android, most users use either iOS or Android. It is only those 'both' users who present a problem to your subscription schemes.
Topic: App & System Services SubTopic: StoreKit Tags:
Oct ’15
saveToURL in UIDocument returns false
I am executing a function to save an UIDocument both when iCloud is enabled and when it is not, but I seem to miss on both throws. In particular when iCloud is enabled saveToURL returns false, and I have no idea why it so, given the document is not nil and the path is apparently a reasonable one:/private/var/mobile/Library/Mobile Documents/iCloud~com~information~inArrivo/Favorite/Stop_77082this is my function in brief: func newFavorite(favorite: palinaModel) ->Bool { let baseURL = NSFileManager.defaultManager().URLForUbiquityContainerIdentifier(nil) var favoriteURL:NSURL! if (baseURL != nil) { let favoritesURL = baseURL!.URLByAppendingPathComponent(pathComponent()) favoriteURL = favoritesURL.URLByAppendingPathComponent(String(format:Stop_%@, favorite.palina)) } else { let filePath = getFilePath() favoriteURL=NSURL(fileURLWithPath: filePath) } let document = FavoriteStopDocument(fileURL:favoriteURL, favorite:favorite) self.favoriteElements.append(document) print(favoriteUrl= + favoriteURL.path!+ document=+d
0
0
681
Oct ’15
Reply to Physic velocity threshold
This raises a good question, what is the translation scale from sprites to the physics world. Does 1 pixel = 1 meter inside the simulation? Is there an easy way to change the simulation scale?One of the first things I learned about Box2d (the physics engine under the hood) is always separate rendering from simulation scale.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Oct ’15
different assetid in SPC coming from iOS client and Safari client
Hi,We are parsing the assetID from the SPC payload to identify the content on the server. However, we are getting different results for SPCs coming from iOS and from Safari.We use the included reference clients for testing. Here's how we set the initData/create the requests:iOS:requestBytes = [loadingRequest streamingContentKeyRequestDataForApp:certificate contentIdentifier:assetId options:nil error:&error];Safari:initData = concatInitDataIdAndCertificate(initData, contentId, certificate);where concatInitDataIdAndCertificate is exactly as provided in the sample code.In both cases, we use the sample streams with content/assetId twelve.For the SPC from iOS, we get the correct asset ID:7477656c7665which translates totwelveIf the request comes from Safari, we are seeing this:e79db4e6b1a5e695b6000000Can you please advise?is this also the reason why the Safari example includes the assetId as additional URL parameter which is not the case on iOS?Thanks and best regards,Tobias
2
0
1k
Oct ’15
Xcode cannot install or launch applications supporting the 64-bit architecture on devices running iOS versions prior to 6.0
According to apple developer site info,'deployment target' must be set to at least 5.1.1 In order to support 64 bit in iOS apps, :https://developer.apple.com/library/ios/documentation/General/Conceptual/CocoaTouch64BitGuide/ConvertingYourAppto64-Bit/ConvertingYourAppto64-Bit.htmlAs I understand it - it means that a device with iOS 5.1.1 (32 bit) should be supported (but OS below 5.1.1 is not supported). However, when the app is installed using xCode (6.4) on iPhone4(iOS 5.1.1) I get the following error: Xcode cannot install or launch applications supporting the 64-bit architecture on devices running iOS versions prior to 6.0. This configuration is supported for distribution through the iOS App Store, but cannot be used during development with Xcode. To continue, edit the Run scheme action and select a build configuration that does not include the 64-bit architecture.The error says that this this version (5.1.1) supported on appstore but not on xcode. Does it mean that when the app is uploaded to app
3
0
3.3k
Oct ’15
Enterprise App unable to be opened via URL
I have an enterprise app being distributed via HockeyApp and am having issues with deeplinks opening the app. This all worked as expected prior to iOS9, but with iOS9 the problem appeared.Let's say I have an app called MyApp and have registered the URL scheme myapp://. Typing myapp:// into Safari will open the app on systems prior to iOS9, but with iOS9 a promt appears (as expected):Open this page in MyApp?Tapping Open does nothing, no error, no prompt. Again, prior to iOS9 the app is launched as expected. If I install the app via Xcode (as opposed to enterprise over-the-air), the deeplink works correctly on all platforms.Anyone else experiencing this issue?
0
0
510
Oct ’15
SFSafariViewController redirect not working
I'm trying to use SFSafariViewController to present a form that the user needs to fill out. On the form, there is a back button, which fires a url scheme which opens the app. The problem is that the application:openURL:options: method doesn't get called when the url scheme is fired by the web page opened in SFSafariViewController. When I was using Safari to open the form instead of the SFSafariViewController, the scheme worked, and the application:openURL:options: method was called.Any ideas why the scheme is not working with SFSafariViewController and how to fix it?
2
0
7.5k
Oct ’15
Reply to Xcode problem
Have you checked: https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/CameraAndPhotoLib_TopicsForIOS/Articles/TakingPicturesAndMovies.htmlIf you have problem translating Objective-C code to Swift, there are online converter tools. Search for obj-c to swift converter. Or maybe you should search for tutorials written in Swift: ios camera tutorial swift.
Topic: Media Technologies SubTopic: Audio Tags:
Oct ’15
Reply to SFSafariViewController redirect not working
It's possibly because your app is already considered as running so can't be opened again. You could test this theory by opening the form in another app (if possible) and see if the back button opens your original app. One way to test this would be to temporarily change the bundle id of your app and remove the URL scheme so that you are effectively running a different app. Alternatively, if you are able to change the web form (without affecting live users), temporarily alter the URL scheme that the back button tries to open to see if you are able to successfully launch a different app that you have installed.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15
Reply to SFSafariViewController redirect not working
It should be possible to navigate back to the app from SFSafariViewController using a URL scheme, because it was described in Apple's WWDC presentation on SFSafariViewController. Also, there are other apps already using it (see here: https://library.launchkit.io/how-ios-9-s-safari-view-controller-could-completely-change-your-app-s-onboarding-experience-2bcf2305137f).
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’15
Reply to How to test watchkit app together with paired iOS app?
Find this in another thread, maybe the answer, haven't tested yet...vikingAug 31, 2015 11:30 AM(in response to coinbump)The WWDC talk Building Watch Apps discusses how to do this.Basically select the Watch App as the scheme in xcode, hit build+run which will build the iOS app and WatchKit app, install the WatchKit app on to the Watch and attach the debugger to the WatchKit Extension. Then in xcode select the iOS app in the scheme selector and select the iPhone as the target device, launch the iOS app by tapping the app icon on the phone and in xcode in the menu bar select Debug > Attach to Process and select your app in the list. This should result in having xcode attached to both processes at the same time.If you want to debug something early in the iOS app's lifecycle you can select Debug > Attach to Process by PID or Name... and type in the process name of the iOS app prior to launching it manually. This way the debugger will be attached right when the app launches.Hope that helps
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to Cross-platform subscriptions
You most likely will not want an autorenewable. It is very easy to renew a non-renewing subscription - the app senses it has expired and tells the user to 'tap here to renew'. It takes about 30 seconds every month/3 months/6 months. You will want to read the Guidelines especially 11.14 to see if you can use option 2.While some users use both iOS and Android, most users use either iOS or Android. It is only those 'both' users who present a problem to your subscription schemes.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’15
saveToURL in UIDocument returns false
I am executing a function to save an UIDocument both when iCloud is enabled and when it is not, but I seem to miss on both throws. In particular when iCloud is enabled saveToURL returns false, and I have no idea why it so, given the document is not nil and the path is apparently a reasonable one:/private/var/mobile/Library/Mobile Documents/iCloud~com~information~inArrivo/Favorite/Stop_77082this is my function in brief: func newFavorite(favorite: palinaModel) ->Bool { let baseURL = NSFileManager.defaultManager().URLForUbiquityContainerIdentifier(nil) var favoriteURL:NSURL! if (baseURL != nil) { let favoritesURL = baseURL!.URLByAppendingPathComponent(pathComponent()) favoriteURL = favoritesURL.URLByAppendingPathComponent(String(format:Stop_%@, favorite.palina)) } else { let filePath = getFilePath() favoriteURL=NSURL(fileURLWithPath: filePath) } let document = FavoriteStopDocument(fileURL:favoriteURL, favorite:favorite) self.favoriteElements.append(document) print(favoriteUrl= + favoriteURL.path!+ document=+d
Replies
0
Boosts
0
Views
681
Activity
Oct ’15
Open Settings app from another app programmatically fails
Has anyone got the following call to work in tvOS?[[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];When I try it in my app, it just logs the following:LaunchServices: ERROR: There is no registered handler for URL scheme app-prefs
Replies
2
Boosts
0
Views
608
Activity
Oct ’15
Reply to Physic velocity threshold
This raises a good question, what is the translation scale from sprites to the physics world. Does 1 pixel = 1 meter inside the simulation? Is there an easy way to change the simulation scale?One of the first things I learned about Box2d (the physics engine under the hood) is always separate rendering from simulation scale.
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Oct ’15
different assetid in SPC coming from iOS client and Safari client
Hi,We are parsing the assetID from the SPC payload to identify the content on the server. However, we are getting different results for SPCs coming from iOS and from Safari.We use the included reference clients for testing. Here's how we set the initData/create the requests:iOS:requestBytes = [loadingRequest streamingContentKeyRequestDataForApp:certificate contentIdentifier:assetId options:nil error:&error];Safari:initData = concatInitDataIdAndCertificate(initData, contentId, certificate);where concatInitDataIdAndCertificate is exactly as provided in the sample code.In both cases, we use the sample streams with content/assetId twelve.For the SPC from iOS, we get the correct asset ID:7477656c7665which translates totwelveIf the request comes from Safari, we are seeing this:e79db4e6b1a5e695b6000000Can you please advise?is this also the reason why the Safari example includes the assetId as additional URL parameter which is not the case on iOS?Thanks and best regards,Tobias
Replies
2
Boosts
0
Views
1k
Activity
Oct ’15
Xcode cannot install or launch applications supporting the 64-bit architecture on devices running iOS versions prior to 6.0
According to apple developer site info,'deployment target' must be set to at least 5.1.1 In order to support 64 bit in iOS apps, :https://developer.apple.com/library/ios/documentation/General/Conceptual/CocoaTouch64BitGuide/ConvertingYourAppto64-Bit/ConvertingYourAppto64-Bit.htmlAs I understand it - it means that a device with iOS 5.1.1 (32 bit) should be supported (but OS below 5.1.1 is not supported). However, when the app is installed using xCode (6.4) on iPhone4(iOS 5.1.1) I get the following error: Xcode cannot install or launch applications supporting the 64-bit architecture on devices running iOS versions prior to 6.0. This configuration is supported for distribution through the iOS App Store, but cannot be used during development with Xcode. To continue, edit the Run scheme action and select a build configuration that does not include the 64-bit architecture.The error says that this this version (5.1.1) supported on appstore but not on xcode. Does it mean that when the app is uploaded to app
Replies
3
Boosts
0
Views
3.3k
Activity
Oct ’15
Reply to What makes Xcode Server complains cannot build for any platform supported by this schema?
that (deleting and auto-recreating the scheme) doesn't work for me...I've even created a new project, commited it into the repository, and still the same errorAdding:I've tried selecting Xcode once more on the server (selected the same one), and now it works... no idea why
Replies
Boosts
Views
Activity
Oct ’15
Reply to El Capitan and Bootcamp with Windows 10 (GPT error)
i'm literally right here with you. I've got the same exact output from gdisk and have been researching & trying everything i can find/think of to get the dualboot BOOTCAMP partition alongside el capitan.windows 10 install DVD is repulsed by the partition scheme that bootcamp hands over...
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to HomeKit Unique Identifiers
I did file an enhancement request. Unfortunately, since iOS 9 is now released, any change to the UUID scheme will break existing applications which utilize those values.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’15
Enterprise App unable to be opened via URL
I have an enterprise app being distributed via HockeyApp and am having issues with deeplinks opening the app. This all worked as expected prior to iOS9, but with iOS9 the problem appeared.Let's say I have an app called MyApp and have registered the URL scheme myapp://. Typing myapp:// into Safari will open the app on systems prior to iOS9, but with iOS9 a promt appears (as expected):Open this page in MyApp?Tapping Open does nothing, no error, no prompt. Again, prior to iOS9 the app is launched as expected. If I install the app via Xcode (as opposed to enterprise over-the-air), the deeplink works correctly on all platforms.Anyone else experiencing this issue?
Replies
0
Boosts
0
Views
510
Activity
Oct ’15
SFSafariViewController redirect not working
I'm trying to use SFSafariViewController to present a form that the user needs to fill out. On the form, there is a back button, which fires a url scheme which opens the app. The problem is that the application:openURL:options: method doesn't get called when the url scheme is fired by the web page opened in SFSafariViewController. When I was using Safari to open the form instead of the SFSafariViewController, the scheme worked, and the application:openURL:options: method was called.Any ideas why the scheme is not working with SFSafariViewController and how to fix it?
Replies
2
Boosts
0
Views
7.5k
Activity
Oct ’15
Reply to Xcode problem
Have you checked: https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/CameraAndPhotoLib_TopicsForIOS/Articles/TakingPicturesAndMovies.htmlIf you have problem translating Objective-C code to Swift, there are online converter tools. Search for obj-c to swift converter. Or maybe you should search for tutorials written in Swift: ios camera tutorial swift.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to SFSafariViewController redirect not working
It's possibly because your app is already considered as running so can't be opened again. You could test this theory by opening the form in another app (if possible) and see if the back button opens your original app. One way to test this would be to temporarily change the bundle id of your app and remove the URL scheme so that you are effectively running a different app. Alternatively, if you are able to change the web form (without affecting live users), temporarily alter the URL scheme that the back button tries to open to see if you are able to successfully launch a different app that you have installed.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to SFSafariViewController redirect not working
It should be possible to navigate back to the app from SFSafariViewController using a URL scheme, because it was described in Apple's WWDC presentation on SFSafariViewController. Also, there are other apps already using it (see here: https://library.launchkit.io/how-ios-9-s-safari-view-controller-could-completely-change-your-app-s-onboarding-experience-2bcf2305137f).
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’15