Post

Replies

Boosts

Views

Activity

Reply to MPMediaItemPropertyArtwork crashes on Swift 6
Wow, this was as simple as adding a @Sendable keyword! I posted about this last month here: https://forums.developer.apple.com/forums/thread/763790 I also submitted a bug report #FB15145734 as I assumed the block was being run on the incorrect thread which was out of our control. Happy to have this working now, but I do wonder is this still an issue with the function, or simply a Swift 6 compiler issue?
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’24
Reply to Xcode 14.3 Server Builder keeps crashing
Yes I also noticed it has user login issues. I've recreated all my bots with 14.2 again but now they fail to checkout with auth failure and after 2 hours i'm on the verge of giving up. It's funny how all the Xcode Server bug reports i've submitted have all occurred since Xcode Cloud was introduced and none have had a single reply.
Apr ’23
Reply to ITMS-90428: Invalid Swift Support - The files libswift_Concurrency.dylib don’t match
I've tried so many builds and none work. After letting Xcode package to upload, both the /SwiftSupport/watchOS/libswift_Concurrency.dylib and /Payload/MY_APP.app/Watch/MY_APP_WatchOS.app/Frameworks/libswift_Concurrency.dylib files contain the same swift version 5.7.1, however the one in /SwiftSupport contains the arm64e slice but the other one doesn't. I can't get Xcode to export the build without arm64e and I'm not sure if I can just remove it from the .app or whether the signature will then be invalid?
Oct ’22
Reply to ITMS-90428: Invalid Swift Support - The files libswift_Concurrency.dylib don’t match
Ok, so regardless of me changing the architectures in: /Products/Applications/MY_APP.app/Watch/MY_APP_WatchOS.app/Frameworks/libswift_Concurrency.dylib as soon as I let Xcode do whatever it does when hitting "Distribute App", it removes the arm64e architecture from the watch app framework, but leaves it in the /SwiftSupport/watchOS/libswift_Concurrency.dylib version. So they will never match! Please, how can I fix this?
Oct ’22
Reply to ITMS-90428: Invalid Swift Support - The files libswift_Concurrency.dylib don’t match
Nope, tried removing arm64e architecture from /Payload/MY_APP.app/MY_APP_WatchOS.app/libswift_Concurrency.dylib but still get the same error. /SwiftSupport/watchos/libswift_Concurrency.dylib: contains: armv7k arm64_32 arm64 arm64e size: 30594960 /Products/Applications/MY_APP.app/Watch/MY_APP_WatchOS.app/Frameworks/libswift_Concurrency.dylib also contains: armv7k arm64_32 arm64 arm64e size: 2224144
Oct ’22
Reply to MPMediaItemPropertyArtwork crashes on Swift 6
Wow, this was as simple as adding a @Sendable keyword! I posted about this last month here: https://forums.developer.apple.com/forums/thread/763790 I also submitted a bug report #FB15145734 as I assumed the block was being run on the incorrect thread which was out of our control. Happy to have this working now, but I do wonder is this still an issue with the function, or simply a Swift 6 compiler issue?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’24
Reply to Xcode 14.3 Server Builder keeps crashing
Yes I also noticed it has user login issues. I've recreated all my bots with 14.2 again but now they fail to checkout with auth failure and after 2 hours i'm on the verge of giving up. It's funny how all the Xcode Server bug reports i've submitted have all occurred since Xcode Cloud was introduced and none have had a single reply.
Replies
Boosts
Views
Activity
Apr ’23
Reply to ITMS-90428: Invalid Swift Support - The files libswift_Concurrency.dylib don’t match
Success. I finally got a build to be accepted. I set ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO for the watch target. I don't know how this might affect the actual running of the watch app, as I no longer have an Apple Watch to test it on, but the iOS app is running fine through TestFlight.
Replies
Boosts
Views
Activity
Oct ’22
Reply to ITMS-90428: Invalid Swift Support - The files libswift_Concurrency.dylib don’t match
I've tried so many builds and none work. After letting Xcode package to upload, both the /SwiftSupport/watchOS/libswift_Concurrency.dylib and /Payload/MY_APP.app/Watch/MY_APP_WatchOS.app/Frameworks/libswift_Concurrency.dylib files contain the same swift version 5.7.1, however the one in /SwiftSupport contains the arm64e slice but the other one doesn't. I can't get Xcode to export the build without arm64e and I'm not sure if I can just remove it from the .app or whether the signature will then be invalid?
Replies
Boosts
Views
Activity
Oct ’22
Reply to ITMS-90428: Invalid Swift Support - The files libswift_Concurrency.dylib don’t match
Ok, so regardless of me changing the architectures in: /Products/Applications/MY_APP.app/Watch/MY_APP_WatchOS.app/Frameworks/libswift_Concurrency.dylib as soon as I let Xcode do whatever it does when hitting "Distribute App", it removes the arm64e architecture from the watch app framework, but leaves it in the /SwiftSupport/watchOS/libswift_Concurrency.dylib version. So they will never match! Please, how can I fix this?
Replies
Boosts
Views
Activity
Oct ’22
Reply to ITMS-90428: Invalid Swift Support - The files libswift_Concurrency.dylib don’t match
Nope, tried removing arm64e architecture from /Payload/MY_APP.app/MY_APP_WatchOS.app/libswift_Concurrency.dylib but still get the same error. /SwiftSupport/watchos/libswift_Concurrency.dylib: contains: armv7k arm64_32 arm64 arm64e size: 30594960 /Products/Applications/MY_APP.app/Watch/MY_APP_WatchOS.app/Frameworks/libswift_Concurrency.dylib also contains: armv7k arm64_32 arm64 arm64e size: 2224144
Replies
Boosts
Views
Activity
Oct ’22