Open paulmlilo opened 1 year ago
That would be odd @paulmlilo could you share the view markup setup and potentially even the rive file in use?
<RiveView artboard="info" src="~/assets/rive/alert-icons.riv" width="300" height="300" autoplay="true" class="w-full h-full" iosOverflowSafeArea="true" (loaded)="this.riveViewLoaded($event)"
Production build command ns prepare ios --release --env.uglify --env.aot
The SPMPackages version
is not being respected. I have 5.6.0 set and the 5.7.0 package is being retrieved.
nativescript.config.ts:
...
ios: {
id: 'my.awesome.app',
discardUncaughtJsExceptions: true,
codeCache: true,
SPMPackages: [
{
name: 'RiveRuntime',
libs: ['RiveRuntime'],
repositoryURL: 'https://github.com/rive-app/rive-ios.git',
version: '5.6.0',
},
],
},
...
Resolving SPM dependencies...
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace /Users/**/platforms/ios/mobile.xcworkspace -scheme mobile -destination generic/platform=iOS -resolvePackageDependencies
User defaults from command line:
IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Updating from https://github.com/rive-app/rive-ios.git
Checking out 5.7.0 of package ‘rive-ios’
Resolved source packages:
RiveRuntime: https://github.com/rive-app/rive-ios.git @ 5.7.0
resolved source packages: RiveRuntime
Hi
I have been using @nativescript/rive for iOS. When I build my app for development, the animations work fine, but when I build for production using XCode, the production build does not show the animations at all.
Platform: iOS XCode: 14.2 @angular/core: ~16.2.0 @nativescript/angular: ~16.0.0 @nativescript/core: 8.5.9 @nativescript/rive: 1.0.1 @nativescript/ios: 8.5.2
SPMPackages: [ { name: "RiveRuntime", libs: ["RiveRuntime"], repositoryURL: "https://github.com/rive-app/rive-ios.git", version: "5.1.6" } ]