GithubHelp home page GithubHelp logo

Comments (3)

alexeystrakh avatar alexeystrakh commented on September 12, 2024

@Flash3001 Lucas, did you have a chance to look into this issue?

from xamarin.swift.

alexeystrakh avatar alexeystrakh commented on September 12, 2024

I was able to repack the package using the updated ipa-packager script and can see the SwiftSupport folder now. The source path for the original swift libs is correct now and the script can find them, copy to the SwiftSupport folder and repack the .ipa. The app can be uploaded now, but, unfortunately, the package is still rejected:

ERROR ITMS-90700: "Incorrect Platform. You included arm64 executable “Xamarin.SingleView.app/Xamarin.SingleView” in your iOS bundle. Only iOS executables can be included."

ERROR ITMS-90700: "Incorrect Platform. You included arm64 executable “Xamarin.SingleView.app/Frameworks/SwiftFrameworkProxy.framework/SwiftFrameworkProxy” in your iOS bundle. Only iOS executables can be included."

swift support

I can see that the script is trying to copy signed versions of the swift dylibs to the SwiftSupport folder based on what it sees in the .app/Frameworks/ folder, and lipo tools gives that all 4 platforms are needeed:

lipo Xamarin.SingleView.app/Frameworks/libswiftObjectiveC.dylib -archs
lipo /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftObjectiveC.dylib -archs

armv7 armv7s arm64 arm64e

So, as a result, the script colies dylibs as-is from the Xcode folder to the SwiftSupport.iphoneos folder.

from xamarin.swift.

Flash3001 avatar Flash3001 commented on September 12, 2024

Hey @alexeystrakh are you sure this issue is with the Swift libraries? The error message from Apple points to arm64e being included on SwiftFrameworkProxy. Do you have access to the source code of that library? Can you remove this arch from the build settings?

from xamarin.swift.

Related Issues (20)

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.