Open gbitaudeau opened 11 months ago
Thanks for reporting this @gbitaudeau
I'm working on reproducing this to better understand what's going on. In the meantime, if this is currently blocking you, you can try using the previous linker by adding -ld64
to "Other Linker Flags" in the Build Settings of your iOS app target.
You can ignore the -ld64
suggestion - it doesn't help here unfortunately.
I'm able to reproduce this error; we're looking into options to resolve this.
Hi @atierian, do you have any updates for this ?
I don't have any updates at this time. I tested this in Xcode 15.1 RC (15C65) to see if it resolves the issue -- unfortunately it results in a segfault with Xcode crashing.
We're exploring options, but these all appear to be longer term fixes currently.
Same with Xcode 15.1 ...
Don't you think the file aws-sdk-swift/Sources/Services/AWSPinpoint/models/Models.swift
is too big and causes the issue ?
Opened an issue over in the Swift SDK to get some more visibility on this https://github.com/awslabs/aws-sdk-swift/issues/1279
Would this workaround work for you? https://github.com/awslabs/aws-sdk-swift/issues/1279#issuecomment-1874329511
I was able to make the AWSPinpoint client compile for the watch simulator by going into the Watch app target's Build Settings and changing the "Debug Information Format" from "DWARF" to "DWARF with dSYM file" for the Debug build configuration. (This is already the default setting for the Release build configuration.)
Hi @lawmicha unfortunately I already have this settings and use either DWARF
or DWARF with dSYM file
doesn't change anything.
Tracking a related wider issue on aws-sdk-swift
: https://github.com/awslabs/aws-sdk-swift/issues/1283
Describe the bug
On a project with an iOS target which embed a watch target, when adding AWSPinpointAnalyticsPlugin dependency, the compilation for iOS simulator failed with the following message:
The problem comes from the massive 35000 lines generated file
aws-sdk-swift/Sources/Services/AWSPinpoint/models/Models.swift
.Note: this compile for real device and for watchOS simulator ...
Steps To Reproduce
Expected behavior
Compile successfully
Amplify Framework Version
2.20.1
Amplify Categories
Analytics
Dependency manager
Swift PM
Swift version
5.9
CLI version
12.7.0
Xcode version
15.0.1 (15A507)
Relevant log output