Create iOS Simulator Build (for viewing Facebook)

I follow this guide , but when I ran this command:

xcodebuild -arch i386 -sdk iphonesimulator7.1 

I got this error:

** BUILD FAILED **

The following build commands failed to execute:
Ld build / Release-iphonesimulator / andG.app / andG normal i386
(1 failure)

So help me decide!

+6
source share
3 answers

I had a similar problem with dependency goals ... This post helped me, maybe your case. ios simulator build using workspace . You must provide a few more arguments in your build command, for example, in the workspace and circuit

 -workspace [Name.xcworkspace] -scheme [NameOfScheme] 
+4
source

You should run:

 xcodebuild -arch i386 -sdk iphonesimulator7.1 -workspace [name].xcworkspace -scheme [targetName or ProjectName] 

also the build path may differ from what was mentioned in the Facebook documentation, you can find the build under {Derived data directory}/build/Release-iphonesimulator/{projectname}.app

+1
source
  • This working directory should be the main directory of the project.
  • Try xcodebuild -arch armv7s -sdk iphonesimulator7.1
0
source

Source: https://habr.com/ru/post/970687/


All Articles