akemin-dayo / simject

simject is a command-line tool and iOS dynamic library that allows developers to easily test their tweaks on the iOS Simulator.
BSD 2-Clause "Simplified" License
486 stars 55 forks source link

Issue when trying to MAKE SETUP #67

Closed ltran-inc closed 3 years ago

ltran-inc commented 3 years ago

When I try to 'make setup' it says :

ld: building for iOS Simulator, but linking in .tbd built for macOS/Mac Catalyst, file '/Library/Developer/CommandLineTools/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks//Foundation.framework/Foundation.tbd' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: [build] Error 1 make: [all] Error 2

PoomSmart commented 3 years ago

Please install Xcode.

ltran-inc commented 3 years ago

I already have installed Xcode and the Command Lines + SDKs

PoomSmart commented 3 years ago

What is the output of xcode-select -p on your machine?

ltran-inc commented 3 years ago

/Library/Developer/CommandLineTools

PoomSmart commented 3 years ago

sudo xcode-select -s /Applications/Xcode.app