Giter VIP home page Giter VIP logo

Comments (13)

cstarner avatar cstarner commented on August 22, 2024 1

Just a heads up, with the new updates to Xcode, the Swift library paths have changed. To fix this, you can use the old script, but replace SOURCE="${DEVELOPER_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/${SWIFT_LIB}" with SOURCE="${DEVELOPER_DIR}/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/${SWIFT_LIB}".

from ioscharts.xamarin.

mingxli avatar mingxli commented on August 22, 2024

By the way, my app runs totally fine locally on Simulator and Devices.

from ioscharts.xamarin.

Flash3001 avatar Flash3001 commented on August 22, 2024

Hey @mingxli, I saw the Xcode 10.2.1 update just today.

It was crashing because your Xcode version 10.2.1 comes with Xcode 5.0.1 instead of Swift 4. When you create the SwiftSupport folder using that script it copies the files from Xcode. Charts 3.2.1 was expecting Swift 4, not 5.

Charts 3.2.2 was built with Swift 5 that comes on Xcode 10.2. You have 10.2.1 installed which comes with 5.0.1 so it is a mismatch.

With Swift 5 that mismatch should not be a problem, but I still need to run some tests before updating the error message that you see. I will only have time to work on that next week πŸ˜₯

For now the solution is for you to downgrade your Xcode to 10.2

from ioscharts.xamarin.

mingxli avatar mingxli commented on August 22, 2024

from ioscharts.xamarin.

mingxli avatar mingxli commented on August 22, 2024

Hi Flash3001,

Just out of curiosity, do you have an idea on when the new version will be out? πŸ˜‰ Thanks again!

from ioscharts.xamarin.

Flash3001 avatar Flash3001 commented on August 22, 2024

@mingxli The update is released now.

from ioscharts.xamarin.

mingxli avatar mingxli commented on August 22, 2024

Hi Flash3001,

Thanks for getting the update out so quickly. I have updated to the newest iOSCharts 3.2.2.1 nuget package. The build went successfully with XCode 10.2.1 (10E1001). However, when I submitted my app to the iTunes Connect, I got the "Invalid Swift Support" email from Apple. I did generate a new ./SwiftSupport folder after the update. Any help or suggestion would be greatly appreciated.

Thanks again for your help!

from ioscharts.xamarin.

Flash3001 avatar Flash3001 commented on August 22, 2024

@mingxli what’s the error description?

from ioscharts.xamarin.

mingxli avatar mingxli commented on August 22, 2024

Invalid Swift Support - The files libswiftos.dylib, libswiftQuartzCore.dylib, libswiftCoreFoundation.dylib, libswiftObjectiveC.dylib, libswiftCoreImage.dylib, libswiftUIKit.dylib, libswiftFoundation.dylib, libswiftDarwin.dylib, libswiftCoreGraphics.dylib, libswiftDispatch.dylib, libswiftCore.dylib, libswiftMetal.dylib don’t match /Payload/My.app/Frameworks/libswiftos.dylib, /Payload/My.app/Frameworks/libswiftQuartzCore.dylib, /Payload/My.app/Frameworks/libswiftCoreFoundation.dylib, /Payload/My.app/Frameworks/libswiftObjectiveC.dylib, /Payload/My.app/Frameworks/libswiftCoreImage.dylib, /Payload/My.app/Frameworks/libswiftUIKit.dylib, /Payload/My.app/Frameworks/libswiftFoundation.dylib, /Payload/My.app/Frameworks/libswiftDarwin.dylib, /Payload/My.app/Frameworks/libswiftCoreGraphics.dylib, /Payload/My.app/Frameworks/libswiftDispatch.dylib, /Payload/My.app/Frameworks/libswiftCore.dylib, /Payload/My.app/Frameworks/libswiftMetal.dylib. Make sure the files are correct, rebuild your app, and resubmit it. Don’t apply post-processing to /Payload/My.app/Frameworks/libswiftos.dylib, /Payload/My.app/Frameworks/libswiftQuartzCore.dylib, /Payload/My.app/Frameworks/libswiftCoreFoundation.dylib, /Payload/My.app/Frameworks/libswiftObjectiveC.dylib, /Payload/My.app/Frameworks/libswiftCoreImage.dylib, /Payload/My.app/Frameworks/libswiftUIKit.dylib, /Payload/My.app/Frameworks/libswiftFoundation.dylib, /Payload/My.app/Frameworks/libswiftDarwin.dylib, /Payload/My.app/Frameworks/libswiftCoreGraphics.dylib, /Payload/My.app/Frameworks/libswiftDispatch.dylib, /Payload/My.app/Frameworks/libswiftCore.dylib, /Payload/My.app/Frameworks/libswiftMetal.dylib.

Thanks Flash3001!

from ioscharts.xamarin.

Flash3001 avatar Flash3001 commented on August 22, 2024

What script are you running? Please try this one: https://github.com/Flash3001/ipa-packager/blob/master/package_ipa_default.sh

from ioscharts.xamarin.

mingxli avatar mingxli commented on August 22, 2024

Perfect! I'll give this one a try. Thanks a lot Flash3001!!!

from ioscharts.xamarin.

mingxli avatar mingxli commented on August 22, 2024

Awesome!!! Everything is working! Thanks again Flash3001. Regarding the "Invalid Swift Support" email, that was my error. I was using an older version of the package_ipa_default.sh. I should have read through the documents more carefully. Anyway, I really really appreciate your help.

Much Thanks!

from ioscharts.xamarin.

Flash3001 avatar Flash3001 commented on August 22, 2024

@cstarner Thanks for that. I will update the available script at https://github.com/Flash3001/ipa-packager

from ioscharts.xamarin.

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.