APP Submission Issues

Source: Internet
Author: User
Tags unsupported

View Original: http://leancodingnow.com/app-submission-issues/

I Bet many iOS developers is busy submitting apps to the APP Store lately after fixing issues on iOS 9. This blog post just listed the issues I came across lately when submitting apps to App Store.

    1. I was using the Xcode 7 GM to submit one app, which uses Carthage and Realm. Here is the error message:

Unsupported architectures. The executable for Xxxx/realm.framework contains unsupported architectures [x86_64, i386]

Unsupported architectures. The executable for Xxxx/realmswift.framework contains unsupported architectures [x86_64, i386]

The reason is this dynamic library has i386 or x86_64 code and we cannot embed them in the app. Y Non-arm code from the app.

After some me found the script from This blog, just go to the tab page "Build phases" of the app target in Xcode, add a "New Run script Phase", copy the Script and paste there, archive your app then it should work. This is the script:

App_path= "${target_build_dir}/${wrapper_name}" # This script loops through the frameworks embedded in the application and# Removes unused architectures.find "$APP _path"-name ' *.framework '-type D |    While Read-r FRAMEWORK do framework_executable_name=$ (Defaults read "$FRAMEWORK/info.plist" cfbundleexecutable) Framework_executable_path= "$FRAMEWORK/$FRAMEWORK _executable_name" echo "Executable is $FRAMEWORK _executable_path" E Xtracted_archs= () for ARCH in $ARCHS do echo "extracting $ARCH from $FRAMEWORK _executable_name" Lipo- Extract "$ARCH" "$FRAMEWORK _executable_path"-o "$FRAMEWORK _executable_path-$ARCH" extracted_archs+= ("$FRAMEWORK _ex ecutable_path-$ARCH ") done echo" Merging extracted architectures: ${archs} "Lipo-o" $FRAMEWORK _executable_path-m Erged "-create" ${extracted_archs[@]} "rm" ${extracted_archs[@]} "echo" replacing original executable with thinned V Ersion "rm" $FRAMEWORK _executable_path "mv" $FRAMEWORK _executable_path-merged "" $FRAMEWORK _executable_path "done   

  

2.I was using Xcode 7 GM-to-submit one IPad app, which just supports landscape orientation, then encountered this error:

Invalid Bundle. IPad multitasking support requires these orientations ...

Invalid Bundle. IPad multitasking support requires launch stories board in bundle ' com.xxx ... '

IPad multitasking support requires all the orientations and the app does not, so we need to opt out it, just add the Uireq Uiresfullscreen key to your Xcode project ' s Info.plist file and apply the Boolean value YES.

3.I is using Xcode 6.4 to submit one app, but got the following warning message after submitting the app to app Store.

Missing push Notification Entitlement-your app appears to include API used to register with the Apple Push Notification Service, but the app signature ' s entitlements does not include the ' aps-environment ' entitlement. If your app uses the Apple Push Notification service, make sure your app ID are enabled for Push Notification in the Provis Ioning Portal, and resubmit after signing your apps with a distribution provisioning profiles that includes the "Aps-environ ment "entitlement.

Actually the app does not has any push notification code. Then I tried to resubmit the app using Xcode 7 and there are no warning anymore. It might be a bug which is also mentioned on StackOverflow.

Other blog posts:

    • Swift Learning Resources
    • Xcode 6 Emulator path
    • Scrum Planning Card
    • Tomato clock app (Pomodoro Tracker)
    • Watch? Kit Learning Resources
    • WatchKit APP Submission Issues

More Blogs posts on http://leancodingnow.com/

Please follow my public number.

Hope this helps,
Michael

APP Submission Issues

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.