Environment:
Xcode v9.1
Swift 4
I am trying to create an AVAssetDownloadURLSession to download the video asset from the background. However the app crash on iOS 9 due to the following reasons.
'NSGenericException', reason: 'Creating an AVAssetDownloadURLSession requires the com.apple.developer.media-asset-download entitlement'
Does anyone know how to fix the crash on iOS 9 (Simulator & Real device)? Many thanks.
You can't. The availability annotation is incorrect: that API requires a private entitlement on iOS 9 so you can't use it.
You can call it on iOS 10 or later.
Related
My current project app settings are xcode 7.3.1,I am using swift 2.2.
My app supports iOS 8 and above. With the recent changes to security and privacy setting for iOS 10, I wanted to know if uploading my app from xcode 7.3.1 will cause any issue/rejection from apple with respect to iOS 10. Is it suggested that I migrate to swift 2.3 and upload the app through xcode 8?Really puzzled
First point: The app store / iTunes Connect doesn't know or care what language your app is written in.
Second point: If you build with Xcode 7.3.1, then you are not linked against iOS 10. Therefore nothing about iOS 10 applies to you. You are running as an iOS 9 (or lower) app, under iOS 9 rules, even on an iOS 10 device.
Conclusion: You're fine; nothing has changed merely because Xcode 8 and iOS 10 exist.
Caveat: But you should check by running on an iOS 10 device anyway!
I can download the latest Xcode, but must I also be running at least iOS 9 to be able to develop an app and run it on my device without being a member of the developer program? I've got an iPhone 4 which cannot be upgraded any further from iOS 7.1.2.
My question is answered here: https://forums.developer.apple.com/thread/52904
No, I don't need iOS 9 as there is probably nothing on the iOS side preventing from using free provisioning. Xcode 7.3.1 supports iOS down to version 6, meaning I could test an app for free on a device with iOS 6.0.
Recently I've migrated to Xcode 7 and iOS 9, review team passed my update. My app is compatible with iOS 7.1+. But, unfortunately, all users with iOS with version prior 9.0 cannot download app from app store and iTunes with following issues. In App store (app downloading failure):
and iTunes (trouble with downloading - cannot find URL on server)
Has anyone already faced this issue?
In Xcode, go to the project settings page.
Screen shot of settings page
Make sure that your Deployment Target setting is set to 8 or less. This setting sets the oldest iOS that your app will be compatible with.
After 40 hours of waiting, ios 8 and 7 users can now download the app.
I have added today widget in my app. it shows today notification in app on ios 8 properly.
but when i tried to run my app on ios 7. its not showing notification in today.
as per my research on google my device is not jailbroken.
both the target (app target and extension target) set 7.1.
also when i tried to run extension on ios 8 it run properly.
whenever i tried it on ios 7. cancel run without any error.
I have checked other demo app also. all app work on ios 8 but not on ios 7.
same result for that app also.
appreciate for help
Today extensions are a feature new in iOS 8. They are not supported in iOS 7.
https://developer.apple.com/app-extensions/
App extensions give users access to your app’s functionality and content throughout iOS 8 and OS X Yosemite
When i send my application to the App Store, i got this error:
My target is iOS 4.3 and later, am i obliged to target the iOS 5 as a minimum? is there any way to fix this without targeting the iOS 5 as minimum configuration requirements? thanx in advance.
Storyboards aren't supported in iOS < 5. Did you even test on 4 to check how your app performs? If not then you probably shouldn't be targeting it anyway.