Total Posts: 34
Joined: April 02, 2012
|
Hi, since i've upgraded to version 3.3.1 and then 3.3.2, i have a compilation error on a Mac 10.6.8, with MonoDevelop:
Error: xcodebuild [-project ] [-activetarget] [-alltargets] [-target ]... [-parallelizeTargets] [-activeconfiguration] [-configuration ] [-sdk |] [-xcconfig ] [=]... []... (TestBase)
anybody knows where this error comes from?
Here is the whole error:
unknown option: -arch
Usage: xcodebuild [-project <projectname>] [-activetarget] [-alltargets] [-target <targetname>]... [-parallelizeTargets] [-activeconfiguration] [-configuration <configurationname>] [-sdk <sdkfullpath>|<sdkname>] [-xcconfig <filepath>] [<buildsetting>=<value>]... [<buildaction>]...
xcodebuild [-version [-sdk [<sdkfullpath>|<sdkname>] [<item>] ]
xcodebuild [-showsdks]
xcodebuild [-find <binary> -sdk <sdkfullpath>|<sdkname>]
xcodebuild [-list]
So i can't compile any project for mac or ios.
i have xcode 3.2.3 installed.
Is this a bug or is there something wrong in my installs?
Tags:
Posted on May 02, 2012 at 4:12 AM
|
Total Posts: 34
Joined: April 02, 2012
|
Re: compilation errors on Mac OS 10.6.8
Please, anybody can tell me how i can solve this bug?
I can't use xcode 4 as i have mac osx 10.6.8
Posted on May 10, 2012 at 7:44 AM
|
Total Posts: 548
Joined: October 07, 2011
|
Re: compilation errors on Mac OS 10.6.8
Hi,
Can you build from the xcode gui?
I'm not familiar with the xcode command-line options. If you use the "-v" for verbose mode, I might get a hint from the command line.
You might just be able to edit out the "-arch" bit from the nme install-tool source code.
Hugh
Posted on May 11, 2012 at 1:02 AM
|
Total Posts: 34
Joined: April 02, 2012
|
Re: compilation errors on Mac OS 10.6.8
Finally the xcode project is created in the export folder, so i can launch the project created with xcode,
So even if i have a compilation error in monodevelop, the project is correctly created
Posted on May 11, 2012 at 3:58 AM
|
Total Posts: 41
Joined: October 27, 2011
|
Re: compilation errors on Mac OS 10.6.8
Has anyone been able to solve this problem?
I'm trying out NME on a Mac for the first time and can't get anything to compile because of this error.
I have OSX 10.6.8 and xcode 3.2.6 and I'm using NME-3.4.4-Beta-Mac.
- - - - -
unknown-00-16-cb-a8-73-9e:bunnymark mike$ nme test build.nmml ios -simulator -v
----- UPDATE -----
process /usr/lib/haxe/lib/nme/3,4,4/templates/default/haxe/nme/installer/Assets.hx bin/ios/BunnyMark//haxe/nme/installer/Assets.hx
process /usr/lib/haxe/lib/nme/3,4,4/templates/default/iphone/PROJ/haxe/ApplicationMain.hx bin/ios/BunnyMark//haxe/ApplicationMain.hx
process /usr/lib/haxe/lib/nme/3,4,4/templates/default/iphone/PROJ/haxe/Build.hxml bin/ios/BunnyMark//haxe/Build.hxml
process /usr/lib/haxe/lib/nme/3,4,4/templates/default/iphone/PROJ/Classes/Main.mm bin/ios/BunnyMark/Classes/Main.mm
process /usr/lib/haxe/lib/nme/3,4,4/templates/default/iphone/PROJ/PROJ-Entitlements.plist bin/ios/BunnyMark/BunnyMark-Entitlements.plist
process /usr/lib/haxe/lib/nme/3,4,4/templates/default/iphone/PROJ/PROJ-Info.plist bin/ios/BunnyMark/BunnyMark-Info.plist
process /usr/lib/haxe/lib/nme/3,4,4/templates/default/iphone/PROJ/PROJ-Prefix.pch bin/ios/BunnyMark/BunnyMark-Prefix.pch
process /usr/lib/haxe/lib/nme/3,4,4/templates/default/iphone/PROJ.xcodeproj/project.pbxproj bin/ios/BunnyMark.xcodeproj/project.pbxproj
----- BUILD -----
cd bin/ios
xcodebuild -configuration Release PLATFORM_NAME=iphonesimulator SDKROOT=iphonesimulator4.3 -arch i386
unknown option: -arch
Usage: xcodebuild [-project <projectname>] [-activetarget] [-alltargets] [-target <targetname>]... [-parallelizeTargets] [-activeconfiguration] [-configuration <configurationname>] [-sdk <sdkfullpath>|<sdkname>] [-xcconfig <filepath>] [<buildsetting>=<value>]... [<buildaction>]...
xcodebuild [-version [-sdk [<sdkfullpath>|<sdkname>] [<item>] ]
xcodebuild [-showsdks]
xcodebuild [-find <binary> -sdk <sdkfullpath>|<sdkname>]
xcodebuild [-list]
Called from ? line 1
Called from InstallTool.hx line 679
Called from a C function
Called from InstallTool.hx line 119
Called from a C function
Called from installers/InstallerBase.hx line 229
Called from installers/IOSInstaller.hx line 26
Called from helpers/IOSHelper.hx line 51
Called from helpers/ProcessHelper.hx line 125
Called from InstallTool.hx line 152
Called from helpers/ProcessHelper.hx line 119
Called from helpers/ProcessHelper.hx line 169
Uncaught exception - Error running: xcodebuild -configuration Release PLATFORM_NAME=iphonesimulator SDKROOT=iphonesimulator4.3 -arch i386 [bin/ios]
unknown-00-16-cb-a8-73-9e:bunnymark mike$
Posted on November 19, 2012 at 5:13 PM
|