It turns out you can use if #available checks in scenes, you just can't specify an else block with it.
Post
Replies
Boosts
Views
Activity
We've solved this by disabling our Swift Package plugins. Re-enabling them causes the issue to return. This works for us across different Xcode project files too. Seems pretty clear there has been some regression to the plugin system since Xcode 15.3.
We can finally build to devices for debugging with Xcode 15 beta 5, but i wanted to hop on this thread and say we are seeing the same issue. We are duping this feedback.
I think your shellscript is not quite right. I was able to make this work using the script below, which I modified from yours:
#!/bin/bash
touch ~/.netrc
echo "machine api.mapbox.com" > ~/.netrc
echo "login mapbox" >> ~/.netrc
echo "password ${MAPBOX_TOKEN}" >> ~/.netrc
You need to set the MAPBOX_TOKEN in your workflow environment (unless you want it in your source code).
I have a similar issue where my builds with Xcode 12.2 (final, not beta) for debug with device and simulator are fine, but release xcarchives are failing with:
/Users/aaron/src/ios/myLibrary/MyLibrary/MyClass.m:9:9: fatal error: module 'MyLibrary' not found
@import MyLibrary;
~~~~~~~^~~~~~~~~~~~~~~~
1 error generated.
I noticed my debug builds have a ProcessXCFramework step for my xcframework, but my release xcarchive builds do not.
I created this request last December. Should I add more?
FB7486638 (Bonjour Browsing with Network framework does not work)