Giter VIP home page Giter VIP logo

auto-ipa-packager's Introduction

auto-ipa-packager

This script adds the necessary SwiftSupport to a signed IPA package. This is in direct response from a rejection from the app store citing "Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it."

If you run your IPA package through this script, it should remedy this issue in a one step process.

#Usage Simply export your signed IPA from Xcode or Xamarin Studio, and then simply run the script.

	sh auto_package_ipa.sh /path/to/MyApp.ipa

The script will output to MyApp.ipa and the original saved as MyApp-original.ipa.

The output should be similar to:

	Unzipping the IPA archive...
	Backed up original IPA to /path/to/MyApp-original.ipa
	Copying Swift Support Requirements...
	Zipping updated IPA archive...
	Completed! Saved as /path/to/MyApp.ipa

#Debugging If you need to debug this script, remove all of the >/dev/null or 2>/dev/null from the commands in the file.

#Credit This is a simplification of @bq ipa-packager which you can find here: https://github.com/bq/ipa-packager. Many thanks!

#Requirements

  • XCode 6+
  • XCode Command Line Tools
  • macOS Mavericks or Higher

auto-ipa-packager's People

Contributors

jamesbar2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

auto-ipa-packager's Issues

Still Invalid Swift Support

Hello,

Thanks a lot for this useful script. I was stuck with the SwiftSupport folder missing error until now.
Using your script I get a new error from iTunes :

Invalid Swift Support - The files libswiftDarwin.dylib, libswiftDispatch.dylib,
libswiftCoreGraphics.dylib, libswiftUIKit.dylib, libswiftCore.dylib,
libswiftFoundation.dylib, libswiftCoreImage.dylib, libswiftObjectiveC.dylib aren’t at 
the expected location /Payload/My.app/Frameworks. Move the file to the expected 
location, rebuild your app using the current public (GM) version of Xcode, and resubmit it.

Signed libs are well located in /Payload/My.app/Frameworks and your script has well added the SwiftSupport folder. I was wondering if you already encountered this error ...
Any ideas ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.