Closed OliverFlecke closed 3 years ago
I suspect there MIGHT be a problem with 4.9.0.14 based on the size of the package, @framinosona ?
Anyway, I use the excellent "Xamarin.Swift" nuget(I installed v1.0.7 in my ios project) to handle the tedious process of bundling any needed swift dependencies(if you target ios versions prior to ABI stability you need to include swift runtime in the IPA...)
Try with the xamarin.swift package installed and see if it fixes your problem!
P.S. Another option is to target iOS >= 12.2, then you shouldnt have to include swift support. (your IPA will be significantly smaller)
Thanks for your help.
I have tried both adding the Xamarin.Swift nuget and targeting 12.2, but neither has resolved the problem.
I opened the IPA after adding the nuget, but it did not seem to contain any SwiftSupport directory. Trying the scripts provided here does not seem to add the support files either.
@OliverFlecke Sounds strange.. .Check your build logs for the task called "_SwiftFrameworksMac", it should look something like this(for release build):
_SwiftFrameworksMac:
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFTextAccessibility.framework/MDFTextAccessibility
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFTextAccessibility.framework/Headers/MDFTextAccessibility-Swift.h
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunication.framework/AzureCommunication
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunication.framework/Headers/AzureCommunication-Swift.h
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFTextAccessibility.framework/Headers/MDFTextAccessibility-Swift.h do not exist.
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCore.framework/AzureCore
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCore.framework/Headers/AzureCore-Swift.h
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionInterchange.framework/MotionInterchange
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunicationCalling.framework/AzureCommunicationCalling
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCore.framework/Headers/AzureCore-Swift.h exists.
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionAnimator.framework/MotionAnimator
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionAnimator.framework/Headers/MotionAnimator-Swift.h
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/iOSDFULibrary.framework/iOSDFULibrary
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libSkiaSharp.framework/libSkiaSharp
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libSkiaSharp.framework/Headers/libSkiaSharp-Swift.h
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libSkiaSharp.framework/Headers/libSkiaSharp-Swift.h do not exist.
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunication.framework/Headers/AzureCommunication-Swift.h exists.
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFInternationalization.framework/MDFInternationalization
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFInternationalization.framework/Headers/MDFInternationalization-Swift.h
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFInternationalization.framework/Headers/MDFInternationalization-Swift.h do not exist.
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h exists.
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MaterialComponents.framework/MaterialComponents
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MaterialComponents.framework/Headers/MaterialComponents-Swift.h
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MaterialComponents.framework/Headers/MaterialComponents-Swift.h do not exist.
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling-Swift.h
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionTransitioning.framework/MotionTransitioning
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionTransitioning.framework/Headers/MotionTransitioning-Swift.h
Looking for Swift version on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/ZIPFoundation.framework/ZIPFoundation
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionTransitioning.framework/Headers/MotionTransitioning-Swift.h do not exist.
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionInterchange.framework/Headers/MotionInterchange-Swift.h
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionInterchange.framework/Headers/MotionInterchange-Swift.h do not exist.
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionAnimator.framework/Headers/MotionAnimator-Swift.h do not exist.
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunicationCalling.framework/Headers/AzureCommunicationCalling-Swift.h do not exist.
Expected Swift header on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/ZIPFoundation.framework/Headers/ZIPFoundation-Swift.h
bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/ZIPFoundation.framework/Headers/ZIPFoundation-Swift.h exists.
Including Swift dylibs because you are targeting an OS version that doesnt include it.
Installed: 5.2.4
AzureCore Framework: 5.3.1
iOSDFULibrary Framework: 5.2.4
ZIPFoundation Framework: 5.2.4
AzureCommunication Framework: 5.3.1
Frameworks: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFTextAccessibility.framework/MDFTextAccessibility, bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCore.framework/AzureCore, bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionAnimator.framework/MotionAnimator, bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionTransitioning.framework/MotionTransitioning, bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/ZIPFoundation.framework/ZIPFoundation, bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionInterchange.framework/MotionInterchange, bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunication.framework/AzureCommunication, bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/iOSDFULibrary.framework/iOSDFULibrary, bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunicationCalling.framework/AzureCommunicationCalling, bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MaterialComponents.framework/MaterialComponents, bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFInternationalization.framework/MDFInternationalization, bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libSkiaSharp.framework/libSkiaSharp
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFTextAccessibility.framework/MDFTextAccessibility
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunication.framework/AzureCommunication
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/iOSDFULibrary.framework/iOSDFULibrary
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionAnimator.framework/MotionAnimator
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunicationCalling.framework/AzureCommunicationCalling
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunicationCalling.framework/AzureCommunicationCalling'
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MaterialComponents.framework/MaterialComponents
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MaterialComponents.framework/MaterialComponents'
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFInternationalization.framework/MDFInternationalization
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFInternationalization.framework/MDFInternationalization'
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libSkiaSharp.framework/libSkiaSharp
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libSkiaSharp.framework/libSkiaSharp'
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionTransitioning.framework/MotionTransitioning
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionTransitioning.framework/MotionTransitioning'
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/ZIPFoundation.framework/ZIPFoundation
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/ZIPFoundation.framework/ZIPFoundation'
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCore.framework/AzureCore
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCore.framework/AzureCore'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/AzureCommunication.framework/AzureCommunication'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/iOSDFULibrary.framework/iOSDFULibrary'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MDFTextAccessibility.framework/MDFTextAccessibility'
Looking for Swift Dependency on: bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionInterchange.framework/MotionInterchange
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionInterchange.framework/MotionInterchange'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/MotionAnimator.framework/MotionAnimator'
Swift Dependency Found: libswiftCore.dylib
Swift Dependency Found: libswiftDispatch.dylib
Swift Dependency Found: libswiftFoundation.dylib
Swift Dependency Found: libswiftObjectiveC.dylib
Swift Dependency Found: libswiftCoreFoundation.dylib
Swift Dependency Found: libswiftCoreImage.dylib
Swift Dependency Found: libswiftDarwin.dylib
Swift Dependency Found: libswiftMetal.dylib
Swift Dependency Found: libswiftQuartzCore.dylib
Swift Dependency Found: libswiftCoreGraphics.dylib
Swift Dependency Found: libswiftos.dylib
Swift Dependency Found: libswiftUIKit.dylib
Looking for Swift Dependency on: libswiftMetal.dylib
Looking for Swift Dependency on: libswiftUIKit.dylib
Looking for Swift Dependency on: libswiftCoreImage.dylib
Looking for Swift Dependency on: libswiftDarwin.dylib
Looking for Swift Dependency on: libswiftCore.dylib
Looking for Swift Dependency on: libswiftQuartzCore.dylib
Looking for Swift Dependency on: libswiftDispatch.dylib
Looking for Swift Dependency on: libswiftFoundation.dylib
Looking for Swift Dependency on: libswiftObjectiveC.dylib
Looking for Swift Dependency on: libswiftCoreFoundation.dylib
Looking for Swift Dependency on: libswiftCoreGraphics.dylib
Looking for Swift Dependency on: libswiftos.dylib
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftObjectiveC.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftDarwin.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCore.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreImage.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreFoundation.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftos.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftDispatch.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftMetal.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftUIKit.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftQuartzCore.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreGraphics.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftFoundation.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCore.dylib' -archs
Copying: libswiftCore.dylib, libswiftDarwin.dylib, libswiftDispatch.dylib, libswiftCoreFoundation.dylib, libswiftFoundation.dylib, libswiftCoreGraphics.dylib, libswiftObjectiveC.dylib, libswiftCoreImage.dylib, libswiftMetal.dylib, libswiftQuartzCore.dylib, libswiftUIKit.dylib, libswiftos.dylib
Swift Arcs Needed: ARM64
Swift Arcs Available: armv7, armv7s, arm64, arm64e
Copying: libswiftFoundation.dylib
Copying: libswiftCoreGraphics.dylib
Copying: libswiftObjectiveC.dylib
Copying: libswiftDarwin.dylib
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftFoundation.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftFoundation.dylib'
Copying: libswiftCoreImage.dylib
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreImage.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftCoreImage.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreGraphics.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftCoreGraphics.dylib'
Copying: libswiftCore.dylib
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftDarwin.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftDarwin.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftObjectiveC.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftObjectiveC.dylib'
Copying: libswiftDispatch.dylib
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftDispatch.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftDispatch.dylib'
Copying: libswiftMetal.dylib
Copying: libswiftUIKit.dylib
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftUIKit.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftUIKit.dylib'
Copying: libswiftos.dylib
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftos.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftos.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftMetal.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftMetal.dylib'
Copying: libswiftCoreFoundation.dylib
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreFoundation.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftCoreFoundation.dylib'
Copying: libswiftQuartzCore.dylib
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftQuartzCore.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftQuartzCore.dylib'
/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode_11.6.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCore.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/TCPRLink.iOS.app/Frameworks/libswiftCore.dylib'
The build logs seems to find and add iOSDFULibrary.
Target _SwiftFrameworksMac:
Looking for Swift version on: bin/iPhone/Release/App.iOS.app/Frameworks/ZIPFoundation.framework/ZIPFoundation
Expected Swift header on: bin/iPhone/Release/App.iOS.app/Frameworks/ZIPFoundation.framework/Headers/ZIPFoundation-Swift.h
Looking for Swift version on: bin/iPhone/Release/App.iOS.app/Frameworks/iOSDFULibrary.framework/iOSDFULibrary
Looking for Swift version on: bin/iPhone/Release/App.iOS.app/Frameworks/libSkiaSharp.framework/libSkiaSharp
Expected Swift header on: bin/iPhone/Release/App.iOS.app/Frameworks/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h
Expected Swift header on: bin/iPhone/Release/App.iOS.app/Frameworks/libSkiaSharp.framework/Headers/libSkiaSharp-Swift.h
bin/iPhone/Release/App.iOS.app/Frameworks/libSkiaSharp.framework/Headers/libSkiaSharp-Swift.h do not exist.
bin/iPhone/Release/App.iOS.app/Frameworks/ZIPFoundation.framework/Headers/ZIPFoundation-Swift.h exists.
bin/iPhone/Release/App.iOS.app/Frameworks/iOSDFULibrary.framework/Headers/iOSDFULibrary-Swift.h exists.
Including Swift dylibs because you are targeting an OS version that doesnt include it.
Installed: 5.3.2
iOSDFULibrary Framework: 5.3.1
ZIPFoundation Framework: 5.3.1
Frameworks: bin/iPhone/Release/App.iOS.app/Frameworks/ZIPFoundation.framework/ZIPFoundation, bin/iPhone/Release/App.iOS.app/Frameworks/iOSDFULibrary.framework/iOSDFULibrary, bin/iPhone/Release/App.iOS.app/Frameworks/libSkiaSharp.framework/libSkiaSharp
Looking for Swift Dependency on: bin/iPhone/Release/App.iOS.app/Frameworks/ZIPFoundation.framework/ZIPFoundation
Looking for Swift Dependency on: bin/iPhone/Release/App.iOS.app/Frameworks/libSkiaSharp.framework/libSkiaSharp
Looking for Swift Dependency on: bin/iPhone/Release/App.iOS.app/Frameworks/iOSDFULibrary.framework/iOSDFULibrary
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/App.iOS.app/Frameworks/libSkiaSharp.framework/libSkiaSharp'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/App.iOS.app/Frameworks/ZIPFoundation.framework/ZIPFoundation'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l 'bin/iPhone/Release/App.iOS.app/Frameworks/iOSDFULibrary.framework/iOSDFULibrary'
Swift Dependency Found: libswiftCore.dylib
Swift Dependency Found: libswiftCoreFoundation.dylib
Swift Dependency Found: libswiftCoreGraphics.dylib
Swift Dependency Found: libswiftCoreImage.dylib
Swift Dependency Found: libswiftDarwin.dylib
Swift Dependency Found: libswiftDispatch.dylib
Swift Dependency Found: libswiftFoundation.dylib
Swift Dependency Found: libswiftMetal.dylib
Swift Dependency Found: libswiftObjectiveC.dylib
Swift Dependency Found: libswiftQuartzCore.dylib
Swift Dependency Found: libswiftUIKit.dylib
Looking for Swift Dependency on: libswiftObjectiveC.dylib
Looking for Swift Dependency on: libswiftCoreGraphics.dylib
Looking for Swift Dependency on: libswiftCore.dylib
Looking for Swift Dependency on: libswiftFoundation.dylib
Looking for Swift Dependency on: libswiftCoreImage.dylib
Looking for Swift Dependency on: libswiftDarwin.dylib
Looking for Swift Dependency on: libswiftCoreFoundation.dylib
Looking for Swift Dependency on: libswiftDispatch.dylib
Looking for Swift Dependency on: libswiftMetal.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreFoundation.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftFoundation.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCore.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftDarwin.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftObjectiveC.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftMetal.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreGraphics.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreImage.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftDispatch.dylib'
Looking for Swift Dependency on: libswiftQuartzCore.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftQuartzCore.dylib'
Looking for Swift Dependency on: libswiftUIKit.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftUIKit.dylib'
Swift Dependency Found: libswiftos.dylib
Looking for Swift Dependency on: libswiftos.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool -l '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftos.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCore.dylib' -archs
Copying: libswiftCore.dylib, libswiftCoreFoundation.dylib, libswiftCoreGraphics.dylib, libswiftCoreImage.dylib, libswiftDarwin.dylib, libswiftDispatch.dylib, libswiftFoundation.dylib, libswiftMetal.dylib, libswiftObjectiveC.dylib, libswiftQuartzCore.dylib, libswiftUIKit.dylib, libswiftos.dylib
Swift Arcs Needed: ARM64
Swift Arcs Available: armv7, armv7s, arm64, arm64e
Copying: libswiftCoreGraphics.dylib
Copying: libswiftDarwin.dylib
Copying: libswiftDispatch.dylib
Copying: libswiftCoreImage.dylib
Copying: libswiftCoreFoundation.dylib
Copying: libswiftObjectiveC.dylib
Copying: libswiftFoundation.dylib
Copying: libswiftCore.dylib
Copying: libswiftMetal.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftDarwin.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftDarwin.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreGraphics.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftCoreGraphics.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreImage.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftCoreImage.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCore.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftCore.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftMetal.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftMetal.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftDispatch.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftDispatch.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftCoreFoundation.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftCoreFoundation.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftFoundation.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftFoundation.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftObjectiveC.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftObjectiveC.dylib'
Copying: libswiftQuartzCore.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftQuartzCore.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftQuartzCore.dylib'
Copying: libswiftUIKit.dylib
Copying: libswiftos.dylib
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftos.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftos.dylib'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/iphoneos/libswiftUIKit.dylib' -remove armv7 -remove armv7s -remove arm64e -output 'bin/iPhone/Release/App.iOS.app/Frameworks/libswiftUIKit.dylib'
@OliverFlecke Then, when you unzip the resulting IPA, you should get a folder called "SwiftSupport/iphoneos/" with some dylib files in it. Are you still getting rejection mail from apple about missing swift support?
I do not see a "SwiftSupport" folder, only a "Frameworks/iOSDFULibrary.framework". So I'm guessing that something must go wrong in the script, since this directory is not added properly.
I have also checked the xcarchive, which does contain a SwiftSupport/iphoneos
directory, but it only contains standard Swift libraries (libswiftCore.dylib and such)
Linked to : https://github.com/xamarin/XamarinComponents/issues/993
Waiting for how it will evolve. Since it's recent I suppose an issue introduced in latest dotnet/mono versions, I will try to build the nuget with an old version.
@tompi I see you're using an old version of XCode, on the issue they mention xcode version updated ... It could be because we are all version 12.4 and you're 11.6 ? @OliverFlecke can you try to install an older version of xcode too ?
I have tried to build with Xcode 12.0, which gives the same result. My build fails with Xcode 11.7, which seems to be some dependencies on Xamarin.iOS 14.*. I will try to see if I can get around those issues to test this.
I have submitted with your latest version (4.9.0.16), but TestFlight is giving me the same error.
Thanks, this has solved my issue for now. I will close this issue, as it is not related to your package.
Thanks for your help!
Describe the bug Hi guys, thanks for this package.
I'm having some issues when submitting our Xamarin app to App Store connect. When adding this NuGet to your iOS, we get the following response from Apple:
"ITMS-90426: Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it."
I'm using the latest public version of Xcode (12.4) to build from VS for Mac (8.8.7 build 18). I don't know much about this SwiftSupport, other than what a few quick searches can tell me. Do you have any suggestions or pointers?
Note: Currently I have been using version 4.9.0.13, as I'm getting a linker error when trying to use your latest version (4.9.0.14). I don't know if upgrading would help with my issue. Are there any flags that has to be added with the latest version?