Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid Swift Support - The expected dylibs are missing from the app's Framework location, such as /Payload/CreditInfo.iOS.app/Frameworks #54

Open
nininea1 opened this issue Apr 16, 2020 · 2 comments

Comments

@nininea1
Copy link

I'm using following packages :

<package id="Xamarin.Swift" version="1.0.2" targetFramework="xamarinios10" /> <package id="iOSCharts" version="3.2.2.1" targetFramework="xamarinios10" />

updated xcode and vs to lates version , Xcode Version 11.4 (11E146)
Xamarin.iOS
Version: 13.16.0.13 (Visual Studio Community)

I tired using
https://github.com/Flash3001/ipa-packager but it seems doesn't work for swift 5.0, after running script I checked ipa content and SwiftSupport> SwiftSupport was empty. after this I copied libs manually from

Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos all filed in to .xcarchive file content .

Any idea ? I'm not able to upload project in app store :(

@Flash3001
Copy link
Owner

@nininea1 what is your minimum iOS target? Is that 12.2 and above or lower?

Can you upgrade to Xamarin.Swift 1.0.4? You are using 1.0.2 and there were some bug fixes on 1.0.3 and 1.0.4. Please let me know if that fixes the issue.

Including the files on .app/Frameworks and creating the SwiftSupport folder on the IPA are 2 different steps. Running the script you mentioned will only create the SwiftSupport folder if the files already exists on .app/Frameworks - which runs during the build process.

There is an existing bug that will prevent the build process from copying the files to .app/Frameworks if you path contains white spaces - it is pending to upload a fix - can you check if that is your case?

The script you mentioned do work for Swift 5, the real problem is what you described on the tile, as .app/Frameworks doesn't have the files.

@nininea1
Copy link
Author

nininea1 commented Jun 2, 2020

Sorry, I missed your response somehow @Flash3001

what is your minimum iOS target? Is that 12.2 and above or lower? <<<< lower, I use 11.0

Can you upgrade to Xamarin.Swift 1.0.4? You are using 1.0.2 and there were some bug fixes on 1.0.3 and 1.0.4. Please let me know if that fixes the issue. <<<< Okay, I will let you know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants