Skip to content

Build error on ios #4

@ritvij14

Description

@ritvij14

Trying to run this app in iOS Simulator on Apple M1

Steps:

  • cloned latest project
  • yarn
  • cd ios && pod install
  • cd ..
  • yarn start
  • in another terminal in same folder, yarn ios

Error log:

yarn ios                                1 ↵
yarn run v1.22.17
$ react-native run-ios
info Found Xcode workspace "SolanaDappScaffold.xcworkspace"
info Building (using "xcodebuild -workspace SolanaDappScaffold.xcworkspace -configuration Debug -scheme SolanaDappScaffold -destination id=1480924F-61F5-4DFC-8454-3D86A161CDA0")
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 SolanaDappScaffold.xcworkspace.
Command line invocation:
    /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace SolanaDappScaffold.xcworkspace -configuration Debug -scheme SolanaDappScaffold -destination id=1480924F-61F5-4DFC-8454-3D86A161CDA0

User defaults from command line:
    IDEPackageSupportUseBuiltinSCM = YES

note: Using new build system
note: Planning
Analyze workspace

Create build description
Build description signature: 67a3c5b7befd3ab50550e5f6730fa56b
Build description path: /Users/ritvij14/Library/Developer/Xcode/DerivedData/SolanaDappScaffold-coaxfqxwrjfwyrgwnqwkjzppxamr/Build/Intermediates.noindex/XCBuildData/67a3c5b7befd3ab50550e5f6730fa56b-desc.xcbuild

note: Build preparation complete
note: Building targets in dependency order
/Users/ritvij14/Desktop/Projects/dapp-scaffold-react-native/ios/SolanaDappScaffold.xcodeproj: error: The linked library 'libPods-SolanaDappScaffold.a' is missing one or more architectures required by this target: arm64. (in target 'SolanaDappScaffold' from project 'SolanaDappScaffold')

2022-09-10 09:43:16.515 xcodebuild[16103:96009] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-09-10 09:43:16.515 xcodebuild[16103:96009] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **


info Run CLI with --verbose flag for more details.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

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