Comments (13)
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.
By the way, my app runs totally fine locally on Simulator and Devices.
from ioscharts.xamarin.
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.
from ioscharts.xamarin.
Hi Flash3001,
Just out of curiosity, do you have an idea on when the new version will be out?
from ioscharts.xamarin.
@mingxli The update is released now.
from ioscharts.xamarin.
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.
@mingxli whatβs the error description?
from ioscharts.xamarin.
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.
What script are you running? Please try this one: https://github.com/Flash3001/ipa-packager/blob/master/package_ipa_default.sh
from ioscharts.xamarin.
Perfect! I'll give this one a try. Thanks a lot Flash3001!!!
from ioscharts.xamarin.
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.
@cstarner Thanks for that. I will update the available script at https://github.com/Flash3001/ipa-packager
from ioscharts.xamarin.
Related Issues (20)
- Last bar not shown in bar graph HOT 2
- IValueFormatter could not be found HOT 1
- Port to MacOS HOT 7
- InvalidSwiftSupport - Again HOT 5
- Crash with custom ChartXAxisRenderer HOT 2
- DYLD, Symbol not found HOT 1
- XAxis value formatter not working HOT 1
- Was Successfully able to upload the ipa in the Application Loader But got an Email from Apple iTunes Connect stating there are one or more issues HOT 1
- CandleStick Chart is not showing up within a CombinedChart on the latest release of 3.2.0 HOT 4
- Works fine on Device, but not in Simulator HOT 9
- upload to appstore issue HOT 3
- First point not showing on line graph HOT 1
- How to Control the Y axis Value difference it is always showing 100 difference HOT 1
- iOSCharts crash on iOS 13 only, update iOSCharts.Xamarin to support iOS 13 HOT 1
- Support for xCode 11 HOT 1
- Invalid Swift Support - The expected dylibs are missing from the app's Framework location, such as /Payload/CreditInfo.iOS.app/Frameworks HOT 2
- Missing library - libswiftCore.dylib error
- Custom renderers are not working HOT 2
- [Query]Are you planning to update binding to 4.0.1 ? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ioscharts.xamarin.