I'm developing a Mobile application for Apple Appstore, and I keep getting this error. I'm pretty much new to building iOS apps, so please help for me to understand what I'm doing wrong here. A possible solution to get past this error would be great.
Which version of Xcode are you using? You should be on nothing newer than Xcode 8 at the time of this post.
You can find the version in Xcode > About Xcode
In future please post text instead of screenshots for searchability.
Incase your project is having swift classes /library:, Please ensure below settings are as follows:
Project/Target settings -> build Settings
1. Defines Module -> YES
2. Always embed Swift Standard libraries -> YES
I fixed this issue by using 'Save for ios App Store Deployment' extraction.
Related
I am currently using XCode 6.3. My project is using CocoaPods.
I have set Deployment Target to be iOS7.0 for both my project and Pods. Also, I have validated my archive and it was successful.
But, when I clicked "Submit to App Store...", it failed with the following errors.
"Invalid Info.plist value. The value for the key ‘MinimumOSVersion’ in bundle ActionSheetPicker_3_0.framework is invalid. The minimum value is 8.0"
"Invalid Segment Alignment. The app binary at ‘AHKActionSheet’ does not have proper segment alignment. Try rebuilding app with the latest Xcode version."
Please help!!! I really need my app to work for iOS 7+, because I am from Myanmar and lots of people here are still using iOS 7. Thanks a lot!!!
The error appears because you are using the ActionSheetPicker framework which apparently requires iOS 8.
So you should review your ActionSheetPicker framework. Is there a version which supports iOS 7? If not you should use another framework.
As Dung says ActionSheetPicker requires iOS8. You have several options:
Weakly link the ActionSheetPicker framework, and use an alternative for iOS7
Fix (or ask developer to fix) ActionSheetPicker so it works with iOS7 (according to his Readme it should work with iOS 5.1.1+). It is likely only the case of changing deployment target of the framework and rebuilding.
Use a different library for this purpose, or code this functionality yourself.
Always test on the target iOS versions before you release to apple!
I have been trying to send my application to apple for submission and it is my first experience about it. I have searched the errors and applied all suggested solutions. However none of the solutions didn't work for me. I got the error below.
I set the ios deployment target as ios 7.0 and later versions for both of the project target and Alamofire framework. Also, my Xcode version is 6.1.1 . However, I could not understand that why not working.
Could you help me please ?
Thank you for your answers
Best regards
Unfortunately, iOS 7 does not support frameworks. Here is some additional information about it. The known workaround is to add Alamofire to your project by dragging the Alamofire.swift file directly into your project.
A good way to track this type of usage in your project is to use Git submodules. You could also download a version and copy the file into your project, but then it gets more difficult to track what version you have compiled into your project.
This will build Alamofire into your project as though it was just another Swift file associated with your project.
This is also why most Swift CocoaPods are iOS 8 only.
I had updated my xcode to the latest version.
I wrote my program in swift and I try to upload it.
I put my Minimum System Version to 7.0 and added the SDK for 7.0 and it compiled fine.. but when I try to upload I get ERROR ITMS-90362 The value for key 'MinimumOSVersion' in bundle is invalid. the minimum value is 8.0.
I had double checked and I saw everywhere that swift supports iOS7. How is this possible?
Another problem is that I get this weird error: ERROR ITMS-90209 Invalid segment alignment. The app binary does not have the proper segment alignment.
I have the latest xcode from the AppStore. I even opened it through there. I tried extracting, clean, Application Loader.
Nothing seems to work.
I'm out of ideas.
Please help
Are you using embedded frameworks in your project?
If so, it could lead to such an error, as even though they work on iOS7, they're not supported on iOS7 and validation fails with a similar message when submitting.
If you're using swift features for ios8 only (e.g. transitions) then your program will still compile when your deployment target is ios7. You need to test it in the simulator with an ios7 device.
You need to use the iOS 8 (or latest) SDK but set the "iOS Deployment Target" to iOS 7.
I had the same error you had when trying to submit my app via xCode 6.1.1
Turns out, you can't mix Swift and dynamic libraries. I had 2 dynamics libraries in my project, and removing them and re-adding them another way (using cocoapods) fix my submission issue.
I have searched Stack Overflow, Google and fellow peers for a current workaround in Xcode 6 for this error but have failed in doing so.
Note that this error occurs ONLY when attempting to run my app ON A DEVICE USING XCODE 6.
(This is not an issue when using the simulators, and I can build my app on a device using Xcode 5)
It seems to be a framework or library issue, but since it is able to work in almost every other possible way, I am not sure where the solution resides. I was using Xcode 6.0.
Here is the error:
I have checked my architecture settings, my frameworks and project files. Everything that needs to be included seems to be there.
This looks like it might be a silly error to do with Cocos2d and/or Xcode6. I have used SpriteBuilder to create the app. If you have a fix or have this error, any insight would be appreciated, thank you!
Found a fix. Downloaded the new Xcode6 version from the App Store. Xcode 6.0.1 (6A317) and it runs on all devices and simulators.
(There was no notification to update Xcode, you must search for it and download the new version)
I have read the documentation to allow deployment of an iOS App to the AppStore using MonoTouch. Here is a link that explains the same:
http://docs.xamarin.com/ios/Guides/Deployment%2C_Testing%2C_and_Metrics/App_Distribution_Overview/Publishing_to_the_App_Store
I have been able to create the MonoTouch Archive using the 'Build Archive' option as explained. However, when I go to the XCode Organizer, I do not see my Archive in there. Is there a specific reason why this doesn't show up in Archive as documented?
Have any developers found any alternate means of deployment? I also saw an option called Zip App Bundle. However, I do not know if that is used anymore.
Any guidance on this issue would be highly appreciated.
This wasn't known until recently, but the archive format that MonoDevelop outputs is only compatible with Xcode 4.5 (maybe 4.4 as well, not sure - but I know that it doesn't work with Xcode 4.2)