Skip to content

Both npm run ios and npm run android is failing for example project. #4

Open
@shellord

Description

@shellord

Build is failing.

npm run ios

error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening TerraReactExample.xcworkspace.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace TerraReactExample.xcworkspace -configuration Debug -scheme TerraReactExample -destination id=A49F4106-844E-4D82-8AD3-15E5D26C813B

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

Prepare packages

Computing target dependency graph and provisioning inputs

Create build description
Build description signature: 4aa91b07db75ba718308c747e03105cb
Build description path: /Users/saheenshoukath/Library/Developer/Xcode/DerivedData/TerraReactExample-dqvbgfmoowfryccplxvsnsqyswxj/Build/Intermediates.noindex/XCBuildData/4aa91b07db75ba718308c747e03105cb-desc.xcbuild

warning: Building targets in manual order is deprecated - choose Dependency Order in scheme settings instead, or set DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING in any of the targets in the current scheme to suppress this warning
/Users/saheenshoukath/dev/projects/terra-react/example/ios/Pods/Target Support Files/Pods-TerraReactExample/Pods-TerraReactExample.debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/saheenshoukath/dev/projects/terra-react/example/ios/Pods/Target Support Files/Pods-TerraReactExample/Pods-TerraReactExample.debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/saheenshoukath/dev/projects/terra-react/example/ios/Pods/Target Support Files/Pods-TerraReactExample/Pods-TerraReactExample.debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/saheenshoukath/dev/projects/terra-react/example/ios/Pods/Target Support Files/Pods-TerraReactExample/Pods-TerraReactExample.debug.xcconfig:1:1: error: unable to open configuration settings file
/Users/saheenshoukath/dev/projects/terra-react/example/ios/TerraReactExample.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 10.0, but the range of supported deployment target versions is 11.0 to 16.1.99. (in target 'TerraReactExample' from project 'TerraReactExample')
error: There is no XCFramework found at '/Users/saheenshoukath/dev/projects/terra-react/example/ios/Pods/TerraiOS/TerraiOS.xcframework'. (in target 'TerraReactExample' from project 'TerraReactExample')
warning: Run script build phase 'Bundle React Native code and images' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'TerraReactExample' from project 'TerraReactExample')
warning: Run script build phase 'Start Packager' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'TerraReactExample' from project 'TerraReactExample')

** BUILD FAILED **

npm run android

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.MergeNativeLibsTask$MergeNativeLibsTaskWorkAction
   > 2 files found with path 'lib/arm64-v8a/libc++_shared.so' from inputs:
      - /Users/saheenshoukath/.gradle/caches/transforms-3/593f1b96da50e9c8d0db7d8435b98eb6/transformed/jetified-react-native-0.71.0-rc.0-debug/jni/arm64-v8a/libc++_shared.so
      - /Users/saheenshoukath/.gradle/caches/transforms-3/24774422927f7f3b8c339435910d5473/transformed/jetified-fbjni-0.3.0/jni/arm64-v8a/libc++_shared.so
     If you are using jniLibs and CMake IMPORTED targets, see
     https://developer.android.com/r/tools/jniLibs-vs-imported-targets

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions