You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR: I've answered my own question here and have submitted it here for when I go looking again to the answer to this question.
In Xcode, I can create a new app, add a iOS Settings.bundle resource, build the app, and see (in the iOS Settings app) the settings in the newly added Settings.bundle/Root.plist file.
So I'd like to do the same thing with an Uno.Platform app. Here's what I've tried:
Create a new blank .net9.0 Uno.Platform app, MyApp.
copy Settings.bundle from the above Xcode created iOS app to MyApp/MyApp/Platforms/iOS/Settings.bundle.
... so I it appears that the bundle it being packaged during the build. In Finder, right clicking on MyApp/bin/Debug/net9.0-ios/iosssimulator-arm64/MyApp.app and selecting Show Package Contents, reveals that the Settings.bundle is located in Platforms/iOS of the bundle. Settings.bundle is not in the package's root, where it should be.
So, how to move it to the root of the app's package? Use the <Link> tag in the <BundleResource> to indicate to the build process to where place Settings.bundle/Root.plist:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
TL;DR: I've answered my own question here and have submitted it here for when I go looking again to the answer to this question.
In Xcode, I can create a new app, add a iOS Settings.bundle resource, build the app, and see (in the iOS Settings app) the settings in the newly added
Settings.bundle/Root.plist
file.So I'd like to do the same thing with an Uno.Platform app. Here's what I've tried:
MyApp
.Settings.bundle
from the above Xcode created iOS app toMyApp/MyApp/Platforms/iOS/Settings.bundle
.MyApp.csproj
:When I go build, I see the following in the build logs:
... so I it appears that the bundle it being packaged during the build. In Finder, right clicking on
MyApp/bin/Debug/net9.0-ios/iosssimulator-arm64/MyApp.app
and selecting Show Package Contents, reveals that theSettings.bundle
is located inPlatforms/iOS
of the bundle. Settings.bundle is not in the package's root, where it should be.So, how to move it to the root of the app's package? Use the
<Link>
tag in the<BundleResource>
to indicate to the build process to where placeSettings.bundle/Root.plist
:Beta Was this translation helpful? Give feedback.
All reactions