Setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/u

Hello!
I follow the steps in program portal.
In build results i can see the embedded.mobileprovision and my provisioning profile also
In build results , But i see some extra lines in code signing process.
setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
When i upload my file it displays *"The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate."*
I read post (http://discussions.apple.com/thread.jspa?messageID=9193436) several time but I don't understand what need to do (may be therefore I don't know perl =) )
Can you please tell me the solution for this problem?
TIA

I think much of the thread you were reading was about a hack to get code signing to work on a G4. If you noticed extra lines, I take it you've built successful distribution binaries in the past. So if you're still using the same system I don't think you'll need any perl scripts.
Take a look at the procedure I recently posted. It was intended for cases where mobile provisioning isn't found in the package, but it may help with other problems too. [http://discussions.apple.com/message.jspa?messageID=9193471#9193471].
If you need stronger medicine, follow the link under that procedure to Doug Lerner's recent thread, which deals with a project that had been building correct distribution packages but stopped doing so for no apparent reason.
I don't remember seeing those setenv lines during any of my builds, but they look like normal shell script commands so I wouldn't focus on them exclusively.

Similar Messages

  • Error Command /usr/bin/codesign failed with exit code 1

    Hello everyone, I take this opportunity to greet and thank all in advance.
    I develop Android in for a long time and I just started trying with xcode. But I have this compilation error:
    Command /usr/bin/codesign failed with exit code 1
    I found it on google but nothing that I have solved the problem.
    Here is the error log:
    CodeSign /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkg muothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/veneziawebcam.app
    cd /Users/paolotuttoilmondo/Documents/Applications/veneziawebcam
    setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
    /usr/bin/codesign --force --sign "iPhone Distribution: Paolo Tuttoilmondo" --resource-rules=/Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/v eneziawebcam-dbkgmuothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/v eneziawebcam.app/ResourceRules.plist --entitlements /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkg muothgsyigeuuxsxjflreufo/Build/Intermediates/veneziawebcam.build/Distribution-ip honeos/veneziawebcam.build/veneziawebcam.xcent  /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkg muothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/veneziawebcam.app
    /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkgm uothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/veneziawebcam.app: CSSMERR_TP_NOT_TRUSTED
    Command /usr/bin/codesign failed with exit code 1
    My certificated Key:
    I think the problem is in the certificates
    I use Xcode 4.2.3
    Thanks in advance.
    Paolo

    Hello everyone, I solved the problem by me, I missed the certificate WWDR.
    Thanks

  • Question about Distribution Application to App Store

    hi all,
       hope can help me for Distribution ipad application to app store use application loader.
      here is Err message:
         Application failed codesign verification. The signature was invalid, or it was not signed with an iPhone Distribution Certificate.
        bellow is bulid Info:
    ProcessProductPackaging "/Users/liujxyxhama/Library/MobileDevice/Provisioning Profiles/08D746A0-F92E-4007-8C5A-C65F35EBD77E.mobileprovision" /Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan-adevzckbhrtwnjgb ngqlwhroxshi/Build/Products/Debug-iphoneos/iCaidan.app/embedded.mobileprovision
        cd "/Users/liujxyxhama/Desktop/iCaidan ios5/iCaidan"
        setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
        builtin-productPackagingUtility "/Users/liujxyxhama/Library/MobileDevice/Provisioning Profiles/08D746A0-F92E-4007-8C5A-C65F35EBD77E.mobileprovision" -o /Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan-adevzckbhrtwnjgb ngqlwhroxshi/Build/Products/Debug-iphoneos/iCaidan.app/embedded.mobileprovision
    CodeSign /Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan-adevzckbhrtwnjgb ngqlwhroxshi/Build/Products/Debug-iphoneos/iCaidan.app
        cd "/Users/liujxyxhama/Desktop/iCaidan ios5/iCaidan"
        setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
        setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
        /usr/bin/codesign --force --sign "iPhone Distribution: Yin Hai Bo" --resource-rules=/Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan -adevzckbhrtwnjgbngqlwhroxshi/Build/Products/Debug-iphoneos/iCaidan.app/Resource Rules.plist --entitlements /Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan-adevzckbhrtwnjgb ngqlwhroxshi/Build/Intermediates/iCaidan.build/Debug-iphoneos/iCaidan.build/iCai dan.xcent /Users/liujxyxhama/Library/Developer/Xcode/DerivedData/iCaidan-adevzckbhrtwnjgb ngqlwhroxshi/Build/Products/Debug-iphoneos/iCaidan.app
    CodeSign Info:
    uminami-inmatoMacBook-Pro:~ umihain$ codesign -dvvv icaidan.app
    icaidan.app: cannot find code object on disk
    uminami-inmatoMacBook-Pro:~ umihain$ codesign -dvvv /icaidan.app
    /icaidan.app: cannot find code object on disk
    uminami-inmatoMacBook-Pro:~ umihain$ codesign -dvvv /icaidan.app
    Executable=/icaidan.app/iCaidan
    Identifier=com.XXX.XXX
    Format=bundle with Mach-O thin (armv7)
    CodeDirectory v=20100 size=6108 flags=0x0(none) hashes=297+5 location=embedded
    CDHash=036f32c0283ad479d4d4639132c83a983ef947dc
    Signature size=4273
    Authority=iPhone Distribution: XXX
    Authority=Apple Worldwide Developer Relations Certification Authority
    Authority=Apple Root CA
    Signed Time=2012-1-19 下午06:10:05
    Info.plist entries=30
    Sealed Resources rules=3 files=200
    Internal requirements count=1 size=144
    uminami-inmatoMacBook-Pro:
    the question is trouble me for some days. and hope can help me soon .
    thanks .

    Follow the walk-thru and links in TN 2250 (recently updated) and TN 2294 Code Validation and Submission Issues for iOS (recently added).

  • Command /Developer/usr/bin/ibtool failed with exit code 255?

    CompileXIB "The Dream Log/xib/DLLockSetupController.xib"
        cd "/02 Projects/Graphic Design/dream log/working/xCode/thedreamlogtakefive"
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
        setenv XCODE_DEVELOPER_USR_PATH /Developer/usr/bin/..
        /Developer/usr/bin/ibtool --errors --warnings --notices --output-format human-readable-text --compile "/Users/g4user/Library/Developer/Xcode/DerivedData/The_Dream_Log-biaxzecevnzlql dtpjxstlufyhhb/Build/Products/Debug-iphonesimulator/The Dream Log.app/DLLockSetupController.nib" "/02 Projects/Graphic Design/dream log/working/xCode/thedreamlogtakefive/The Dream Log/xib/DLLockSetupController.xib" --sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3 .sdk
    2011-07-14 16:55:13.304 ibtoold[42465:4403] Invalid archive. Every reference with a ref tag must have an object with a matching id tag.
    2011-07-14 16:55:13.333 ibtoold[42465:4403] Backtrace:
      0  0x000000010003f32d IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
      1  0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
      2  0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
      3  0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
      4  0x000000010003f3aa IBDepthFirstTreeVisit (in IDEInterfaceBuilderKit)
      5  0x000000010003f481 IBDepthFirstForestVisit (in IDEInterfaceBuilderKit)
      6  0x000000010004f6a1 -[IBXMLDecoder initForReadingWithData:error:] (in IDEInterfaceBuilderKit)
      7  0x000000010004ef74 -[IBXMLDecoder initForReadingWithData:] (in IDEInterfaceBuilderKit)
      8  0x000000010008154a -[IBAsyncXMLDecoderWrapper initializeDecoderForFileURL:] (in IDEInterfaceBuilderKit)
      9  0x00007fff8004f284 _dispatch_call_block_and_release (in libSystem.B.dylib)
    10  0x00007fff8002d7f1 _dispatch_worker_thread2 (in libSystem.B.dylib)
    11  0x00007fff8002d128 _pthread_wqthread (in libSystem.B.dylib)
    2011-07-14 16:55:13.334 ibtoold[42465:4403] An uncaught exception was raised
    2011-07-14 16:55:13.335 ibtoold[42465:4403] Invalid archive. Every reference with a ref tag must have an object with a matching id tag.
    2011-07-14 16:55:13.336 ibtoold[42465:4403] *** Terminating app due to uncaught exception 'IBExpect Failure', reason: 'Invalid archive. Every reference with a ref tag must have an object with a matching id tag.'
    *** Call stack at first throw:
              0   CoreFoundation                      0x00007fff80fe17b4 __exceptionPreprocess + 180
              1   libobjc.A.dylib                     0x00007fff8849b0f3 objc_exception_throw + 45
              2   CoreFoundation                      0x00007fff81039969 -[NSException raise] + 9
              3   IDEInterfaceBuilderKit              0x0000000100051049 __IBXMLDecoderResolveReferences_block_invoke_0401 + 278
              4   IDEInterfaceBuilderKit              0x000000010003f32d IBDepthFirstTreeVisit + 42
              5   IDEInterfaceBuilderKit              0x000000010003f3aa IBDepthFirstTreeVisit + 167
              6   IDEInterfaceBuilderKit              0x000000010003f3aa IBDepthFirstTreeVisit + 167
              7   IDEInterfaceBuilderKit              0x000000010003f3aa IBDepthFirstTreeVisit + 167
              8   IDEInterfaceBuilderKit              0x000000010003f3aa IBDepthFirstTreeVisit + 167
              9   IDEInterfaceBuilderKit              0x000000010003f481 IBDepthFirstForestVisit + 146
              10  IDEInterfaceBuilderKit              0x000000010004f6a1 -[IBXMLDecoder initForReadingWithData:error:] + 1835
              11  IDEInterfaceBuilderKit              0x000000010004ef74 -[IBXMLDecoder initForReadingWithData:] + 20
              12  IDEInterfaceBuilderKit              0x000000010008154a -[IBAsyncXMLDecoderWrapper initializeDecoderForFileURL:] + 76
              13  libSystem.B.dylib                   0x00007fff8004f284 _dispatch_call_block_and_release + 15
              14  libSystem.B.dylib                   0x00007fff8002d7f1 _dispatch_worker_thread2 + 239
              15  libSystem.B.dylib                   0x00007fff8002d128 _pthread_wqthread + 353
              16  libSystem.B.dylib                   0x00007fff8002cfc5 start_wqthread + 13
    terminate called after throwing an instance of 'NSException'
    Command /Developer/usr/bin/ibtool failed with exit code 255

    I've solved the issue, but it required a hard reset.
    Some said it was because I installed XCode outside of the App Store, or because the simluator was buggy, or because XCode was pointing at the wrong version of the Simulator, or a resoruce was missing a target membership, or whatever.  I tried all of that.
    I downloaded XCode from the App Store, re-installed the Simulators, and still no luck.  So I just rolled back my repository to an earlier date, and lost some work in the process.  Not much though, because I always commit little and often.
    Since ever starting to use storyboards back in 2011, I have always committed little AND OFTEN.  Storyboard are fragile.

  • Failed with exit code 5?

    Hi everybody,
    yesterday I renewed my dev account, at first I had no problem archiving apps to test them into my ipad, but suddenly every build gave me "build failed" with this error:
    CodeSign /Users/cristiano/Library/Developer/Xcode/DerivedData/MultiTargets-cagrakrndtxhj jbeeseyceiigrjj/ArchiveIntermediates/MultiTargets/InstallationBuildProductsLocat ion/Applications/MultiTargets.app
        cd "/Users/cristiano/Downloads/Progetti/unity/unity tool/Augmented Reality/qualcomm resources/iOS/qcar-ios-sdk/samples/MultiTargets"
        setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
        setenv _CODESIGN_ALLOCATE_ /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
        /usr/bin/codesign -f -s "iPhone Developer: Cristiano Zelli (XXXXXXXXXX)" --resource-rules=/Users/cristiano/Library/Developer/Xcode/DerivedData/MultiTarg ets-cagrakrndtxhjjbeeseyceiigrjj/ArchiveIntermediates/MultiTargets/InstallationB uildProductsLocation/Applications/MultiTargets.app/ResourceRules.plist --entitlements /Users/cristiano/Library/Developer/Xcode/DerivedData/MultiTargets-cagrakrndtxhj jbeeseyceiigrjj/ArchiveIntermediates/MultiTargets/IntermediateBuildFilesPath/Mul tiTargets.build/Release-iphoneos/MultiTargets.build/MultiTargets.xcent /Users/cristiano/Library/Developer/Xcode/DerivedData/MultiTargets-cagrakrndtxhj jbeeseyceiigrjj/ArchiveIntermediates/MultiTargets/InstallationBuildProductsLocat ion/Applications/MultiTargets.app
    dyld: Symbol not found: _kSecCFErrorArchitecture
      Referenced from: /usr/bin/codesign
      Expected in: /System/Library/Frameworks/Security.framework/Versions/A/Security
    in /usr/bin/codesign
    Command /usr/bin/codesign failed with exit code 5
    I think that the /System/Library/Frameworks/Security.framework/Versions/A/Security file is corrupted, but I cannot figure it out how to restore it.. I tried to search all over the web for a solution, but I haven't found anything yet.
    I'm on a MacPro 4.1, snow leopard 10.6.8, xcode 4.2 with iOS 5.1 platform included, ipad 2 with ios 5.1
    I've already tried to revoke my developer and distribution account and creating new ones;
    I  tried to completely remove xcode and reinstall first xcode  4.0 with ios sdk 4.3 and then 4.2;
    I tried to download and open MacOSXUpdCombo10.6.8 with pacifist to reinstall Security.framework
    ... still I'm getting the same error with all my projects!
    Most of my projects are created with Unity, I'm not a programmer, but also when I create a completely new project from Xcode I've always the same error...
    Someone who can help me? thank you in advance!

    I am getting this crash:
    11/21/08 11:01:19 AM ibtool[11294] An uncaught exception was raised
    11/21/08 11:01:19 AM ibtool[11294] Error (1002) creating CGSWindow
    11/21/08 11:01:19 AM ibtool[11294] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'
    11/21/08 11:01:19 AM ibtool[11294] Stack: (
    2445070667,
    2473889339,
    2445070123,
    2445070186,
    2521611543,
    2521610771,
    2521609977,
    2521608652,
    2521606301,
    2521605972,
    2521605581,
    40913062,
    40917799,
    2477456301,
    2477455188,
    2488559349,
    2488559026
    11/21/08 11:01:19 AM ibtool[11295] An uncaught exception was raised
    11/21/08 11:01:19 AM ibtool[11295] Error (1002) creating CGSWindow
    11/21/08 11:01:19 AM ibtool[11295] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Error (1002) creating CGSWindow'
    11/21/08 11:01:19 AM ibtool[11295] Stack: (
    2445070667,
    2473889339,
    2445070123,
    2445070186,
    2521611543,
    2521610771,
    2521609977,
    2521608652,
    2521606301,
    2521605972,
    2521605581,
    40913062,
    40917799,
    2477456301,
    2477455188,
    2488559349,
    2488559026
    11/21/08 11:01:22 AM ReportCrash[11299] Formulating crash report for process ibtool[11294]
    11/21/08 11:01:22 AM ReportCrash[11299] Formulating crash report for process ibtool[11295]
    11/21/08 11:01:23 AM ReportCrash[11299] Saved crashreport to /Users/mikedesaro/Library/Logs/CrashReporter/ibtool2008-11-21-110119mike-desaros-imac.crash using uid: 501 gid: 20, euid: 501 egid: 20
    11/21/08 11:01:23 AM ReportCrash[11299] Saved crashreport to /Users/mikedesaro/Library/Logs/CrashReporter/ibtool2008-11-21-110119mike-desaros-imac.crash using uid: 501 gid: 20, euid: 501 egid: 20

  • Codesign failed with exit code 5

    Hi everybody,
    yesterday I renewed my dev account, at first I had no problem archiving apps to test them into my ipad, but suddenly every build gave me "build failed" with this error:
    CodeSign  /Users/cristiano/Library/Developer/Xcode/DerivedData/MultiTargets-cagrakrndtxhj   jbeeseyceiigrjj/ArchiveIntermediates/MultiTargets/InstallationBuildProductsLoca t ion/Applications/MultiTargets.app
        cd "/Users/cristiano/Downloads/Progetti/unity/unity tool/Augmented Reality/qualcomm resources/iOS/qcar-ios-sdk/samples/MultiTargets"
        setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
        setenv _CODESIGN_ALLOCATE_ /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
        /usr/bin/codesign -f -s "iPhone Developer: Cristiano Zelli (XXXXXXXXXX)" --resource-rules=/Users/cristiano/Library/Developer/Xcode/DerivedData/MultiTarg   ets-cagrakrndtxhjjbeeseyceiigrjj/ArchiveIntermediates/MultiTargets/Installation B uildProductsLocation/Applications/MultiTargets.app/ResourceRules.plist --entitlements /Users/cristiano/Library/Developer/Xcode/DerivedData/MultiTargets-cagrakrndtxhj   jbeeseyceiigrjj/ArchiveIntermediates/MultiTargets/IntermediateBuildFilesPath/Mu l tiTargets.build/Release-iphoneos/MultiTargets.build/MultiTargets.xcent /Users/cristiano/Library/Developer/Xcode/DerivedData/MultiTargets-cagrakrndtxhj   jbeeseyceiigrjj/ArchiveIntermediates/MultiTargets/InstallationBuildProductsLoca t ion/Applications/MultiTargets.app
    dyld: Symbol not found: _kSecCFErrorArchitecture
      Referenced from: /usr/bin/codesign
      Expected in: /System/Library/Frameworks/Security.framework/Versions/A/Security
    in /usr/bin/codesign
    Command /usr/bin/codesign failed with exit code 5
    I think that the /System/Library/Frameworks/Security.framework/Versions/A/Security file is corrupted, but I cannot figure it out how to restore it.. I tried to search all over the web for a solution, but I haven't found anything yet.
    I'm on a MacPro 4.1, snow leopard 10.6.8, xcode 4.2 with iOS 5.1 platform included, ipad 2 with ios 5.1
    I've already tried to revoke my developer and distribution account and creating new ones;
    I  tried to completely remove xcode and reinstall first xcode  4.0 with ios sdk 4.3 and then 4.2;
    I tried to download and open MacOSXUpdCombo10.6.8 with pacifist to reinstall Security.framework
    ... still I'm getting the same error with all my projects!
    Most of my projects are created with Unity, I'm not a programmer, but also when I create a completely new project from Xcode I've always the same error...
    Someone who can help me? thank you in advance!

    export n import developerprofile from Xcode.

  • Link error, gcc-4.2 failed with exit code 1

    Hi~everyone!
    I now have a question
     that when I want to put my program into iphone(not simulator) to debug, then comes the problem with the debug message below: 
    Ld build/Debug-iphoneos/TouchCells.app/TouchCells normal armv6
    cd "/Users/TouchCells 2"
    setenv IPHONEOS_DEPLOYMENT_TARGET 4.2
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk "-L/Users/TouchCells 2/build/Debug-iphoneos" "-F/Users/TouchCells 2/build/Debug-iphoneos" -filelist "/Users/TouchCells 2/build/TouchCells.build/Debug-iphoneos/TouchCells.build/Objects-normal/armv6/T ouchCells.LinkFileList" -dead_strip -miphoneos-version-min=4.2 -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -lSystem -o "/Users/TouchCells 2/build/Debug-iphoneos/TouchCells.app/TouchCells"
    ld: warning: symbol dyld_stub_binder not found, normally in libSystem.dylib
    Assertion failed: (targetAtom != NULL), function Fixup, file /SourceCache/ld64/ld64-123.3/src/ld/ld.hpp, line 393.
    0  0x13886  __assert_rtn + 86
    1  0x11e67a  ld::passes::stubs::arm::StubHelperAtom::helperHelper(ld::passes::stubs::Pass&) + 874
    2  0x11e76d  ld::passes::stubs::arm::LazyPointerAtom::LazyPointerAtom(ld::passes::stubs::Pas s&, ld::Atom const&, bool, bool, bool, bool) + 189
    3  0x1198e2  ld::passes::stubs::Pass::makeStub(ld::Atom const&, bool) + 4146
    4  0x11a2a5  ld::passes::stubs::Pass::process(ld::Internal&) + 2005
    5  0x11a803  ld::passes::stubs::doPass(Options const&, ld::Internal&) + 131
    6  0x1504d  main + 957
    collect2: ld returned 1 exit status
    Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
    Everything works fine in simulator.
    Any suggestion is appreciated! Thanks a lot!

    I've found the problem that is my system have a incompatible file named libSystem.dylib, so I replace the file with a copy of the correct file from my colleague. That fix my problem.

  • IPhone app build fails in Dreamweaver CS5.5

    Working through a Lynda.com tutorial on developing Phonegap iOS apps, I continually receive the following error:
    "The buid of "testapp" failed to complete successfully. Please consult the build log at .... for additional details."
    I also receive this message when I attempt to build a basic app using the "Mobile Starters" JQuery Mobile (PhoneGap) sample.
    Is there something basic in the setup that I could be missing that causes this error?
    I don't know what to look for in the build log so I'm pasting the log below:
    -- begin build log --
    cloning PhoneGapLib
    <DW>
    mkdir -p /Users/cdp134/Documents/DW_NAF
    cp -r -f /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib /Users/cdp134/Documents/DW_NAF/PhoneGapLib
    chmod -R 777 /Users/cdp134/Documents/DW_NAF/PhoneGapLib
    </DW>
    operation completed
              emptySelectCount =  2
              readCount = 1
    WARNING: no icon was specified in app settings. using default.
    WARNING: no splash screen was specified in app settings. using default.
    building testapp for iOS.
    <DW>
    cd /Users/cdp134/Desktop/edu.careercenter.testapp_iOS/
    chmod 777 /Users/cdp134/Desktop/edu.careercenter.testapp_iOS/www/phonegap.js
    /Developer/usr/bin/xcodebuild -project 'testapp.xcodeproj' -configuration Debug -sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
    </DW>
    Build settings from command line:
        SDKROOT = iphonesimulator5.0
    === BUILD NATIVE TARGET PhoneGapLib OF PROJECT PhoneGapLib WITH CONFIGURATION Debug ===
    Check dependencies
    PhaseScriptExecution "Make phonegap.js" build/PhoneGapLib.build/Debug-iphonesimulator/PhoneGapLib.build/Script-3044C11210BC6AEE00 581BFB.sh
        cd /Users/cdp134/Documents/DW_NAF/PhoneGapLib
        setenv ACTION build
        setenv ALTERNATE_GROUP staff
        setenv ALTERNATE_MODE u+w,go-w,a+rX
        setenv ALTERNATE_OWNER cdp134
        setenv ALWAYS_SEARCH_USER_PATHS NO
        setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
        setenv APPLE_INTERNAL_DIR /AppleInternal
        setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation
        setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
        setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
        setenv APPLY_RULES_IN_COPY_FILES NO
        setenv ARCHS i386
        setenv ARCHS_STANDARD_32_BIT i386
        setenv ARCHS_UNIVERSAL_IPHONE_OS i386
        setenv AVAILABLE_PLATFORMS "iphonesimulator macosx iphoneos"
        setenv BUILD_COMPONENTS "headers build"
        setenv BUILD_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build
        setenv BUILD_ROOT /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build
        setenv BUILD_STYLE
        setenv BUILD_VARIANTS normal
        setenv BUILT_PRODUCTS_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator
        setenv CACHE_ROOT /var/folders/9n/fq9wy62x05qcb3g4dj5tbkfm0000gn/C/com.apple.Xcode.501
        setenv CCHROOT /var/folders/9n/fq9wy62x05qcb3g4dj5tbkfm0000gn/C/com.apple.Xcode.501
        setenv CHMOD /bin/chmod
        setenv CHOWN /usr/sbin/chown
        setenv CLASS_FILE_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/JavaClasses
        setenv CLEAN_PRECOMPS YES
        setenv CLONE_HEADERS NO
        setenv CODESIGNING_FOLDER_PATH /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator/libPhoneGapLib.a
        setenv COMMAND_MODE legacy
        setenv COMPOSITE_SDK_DIRS /var/folders/9n/fq9wy62x05qcb3g4dj5tbkfm0000gn/C/com.apple.Xcode.501/CompositeSDKs
        setenv COMPRESS_PNG_FILES YES
        setenv CONFIGURATION Debug
        setenv CONFIGURATION_BUILD_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator
        setenv CONFIGURATION_TEMP_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator
        setenv COPYING_PRESERVES_HFS_DATA NO
        setenv COPY_PHASE_STRIP NO
        setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES
        setenv CP /bin/cp
        setenv CURRENT_ARCH i386
        setenv CURRENT_VARIANT normal
        setenv DEAD_CODE_STRIPPING NO
        setenv DEBUGGING_SYMBOLS YES
        setenv DEBUG_INFORMATION_FORMAT dwarf-with-dsym
        setenv DEFAULT_COMPILER com.apple.compilers.llvm.clang.1_0
        setenv DEPLOYMENT_LOCATION NO
        setenv DEPLOYMENT_POSTPROCESSING NO
        setenv DERIVED_FILES_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/DerivedSources
        setenv DERIVED_FILE_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/DerivedSources
        setenv DERIVED_SOURCES_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/DerivedSources
        setenv DEVELOPER_APPLICATIONS_DIR /Developer/Applications
        setenv DEVELOPER_BIN_DIR /Developer/usr/bin
        setenv DEVELOPER_DIR /Developer
        setenv DEVELOPER_FRAMEWORKS_DIR /Developer/Library/Frameworks
        setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Developer/Library/Frameworks\""
        setenv DEVELOPER_LIBRARY_DIR /Developer/Library
        setenv DEVELOPER_SDK_DIR /Developer/SDKs
        setenv DEVELOPER_TOOLS_DIR /Developer/Tools
        setenv DEVELOPER_USR_DIR /Developer/usr
        setenv DEVELOPMENT_LANGUAGE English
        setenv DO_HEADER_SCANNING_IN_JAM NO
        setenv DSTROOT /tmp/PhoneGapLib.dst
        setenv DWARF_DSYM_FILE_NAME libPhoneGapLib.a.dSYM
        setenv DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT NO
        setenv DWARF_DSYM_FOLDER_PATH /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator
        setenv EFFECTIVE_PLATFORM_NAME -iphonesimulator
        setenv ENABLE_HEADER_DEPENDENCIES YES
        setenv ENABLE_OPENMP_SUPPORT NO
        setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS ".DS_Store .svn .git .hg CVS"
        setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch (*) .DS_Store CVS .svn .git .hg *.xcodeproj *.xcode *.pbproj *.pbxproj"
        setenv EXECUTABLE_EXTENSION a
        setenv EXECUTABLE_NAME libPhoneGapLib.a
        setenv EXECUTABLE_PATH libPhoneGapLib.a
        setenv EXECUTABLE_PREFIX lib
        setenv EXECUTABLE_SUFFIX .a
        setenv FILE_LIST /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/Objects/LinkFileList
        setenv FIXED_FILES_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/FixedFiles
        setenv FRAMEWORK_FLAG_PREFIX -framework
        setenv FRAMEWORK_SEARCH_PATHS "\"/Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator\" "
        setenv FRAMEWORK_VERSION A
        setenv FULL_PRODUCT_NAME libPhoneGapLib.a
        setenv GCC3_VERSION 3.3
        setenv GCC_C_LANGUAGE_STANDARD c99
        setenv GCC_DYNAMIC_NO_PIC NO
        setenv GCC_ENABLE_FIX_AND_CONTINUE YES
        setenv GCC_ENABLE_SYMBOL_SEPARATION NO
        setenv GCC_MODEL_TUNING G5
        setenv GCC_OBJC_LEGACY_DISPATCH YES
        setenv GCC_OPTIMIZATION_LEVEL 0
        setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++"
        setenv GCC_PRECOMPILE_PREFIX_HEADER YES
        setenv GCC_PREFIX_HEADER PhoneGapLib_Prefix.pch
        setenv GCC_TREAT_WARNINGS_AS_ERRORS NO
        setenv GCC_VERSION com.apple.compilers.llvm.clang.1_0
        setenv GCC_WARN_ABOUT_RETURN_TYPE YES
        setenv GCC_WARN_UNUSED_VARIABLE YES
        setenv GENERATE_MASTER_OBJECT_FILE NO
        setenv GENERATE_PKGINFO_FILE NO
        setenv GENERATE_PROFILING_CODE NO
        setenv GID 20
        setenv GROUP staff
        setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
        setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES
        setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES
        setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
        setenv HEADER_SEARCH_PATHS "\"/Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator/include\" "
        setenv ICONV /usr/bin/iconv
        setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
        setenv INFOPLIST_OUTPUT_FORMAT binary
        setenv INFOPLIST_PREPROCESS NO
        setenv INSTALL_DIR /tmp/PhoneGapLib.dst/usr/local/lib
        setenv INSTALL_GROUP staff
        setenv INSTALL_MODE_FLAG u+w,go-w,a+rX
        setenv INSTALL_OWNER cdp134
        setenv INSTALL_PATH /usr/local/lib
        setenv INSTALL_ROOT /tmp/PhoneGapLib.dst
        setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
        setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
        setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
        setenv JAVA_ARCHIVE_CLASSES YES
        setenv JAVA_ARCHIVE_TYPE JAR
        setenv JAVA_COMPILER /usr/bin/javac
        setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
        setenv JAVA_JAR_FLAGS cv
        setenv JAVA_SOURCE_SUBDIR .
        setenv JAVA_USE_DEPENDENCIES YES
        setenv JAVA_ZIP_FLAGS -urg
        setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO"
        setenv KEEP_PRIVATE_EXTERNS NO
        setenv LD_GENERATE_MAP_FILE NO
        setenv LD_MAP_FILE_PATH /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/PhoneGapLib-LinkMap-normal-i386.txt
        setenv LD_NO_PIE NO
        setenv LD_OPENMP_FLAGS -fopenmp
        setenv LEGACY_DEVELOPER_DIR /Developer/Library/Xcode/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Devel oper
        setenv LEX /Developer/usr/bin/lex
        setenv LIBRARY_FLAG_NOSPACE YES
        setenv LIBRARY_FLAG_PREFIX -l
        setenv LIBRARY_SEARCH_PATHS "\"/Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator\" "
        setenv LINKER_DISPLAYS_MANGLED_NAMES NO
        setenv LINK_FILE_LIST_normal_i386 /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/Objects-normal/i386/PhoneGapLib.LinkFileList
        setenv LINK_WITH_STANDARD_LIBRARIES YES
        setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
        setenv LOCAL_APPS_DIR /Applications
        setenv LOCAL_DEVELOPER_DIR /Library/Developer
        setenv LOCAL_LIBRARY_DIR /Library
        setenv MACH_O_TYPE staticlib
        setenv MACOSX_DEPLOYMENT_TARGET 10.6
        setenv MAC_OS_X_PRODUCT_BUILD_VERSION 11C74
        setenv MAC_OS_X_VERSION_ACTUAL 1072
        setenv MAC_OS_X_VERSION_MAJOR 1070
        setenv MAC_OS_X_VERSION_MINOR 0702
        setenv NATIVE_ARCH i386
        setenv NATIVE_ARCH_32_BIT i386
        setenv NATIVE_ARCH_64_BIT x86_64
        setenv NATIVE_ARCH_ACTUAL x86_64
        setenv NO_COMMON YES
        setenv OBJC_ABI_VERSION 2
        setenv OBJECT_FILE_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/Objects
        setenv OBJECT_FILE_DIR_normal /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/Objects-normal
        setenv OBJROOT /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build
        setenv ONLY_ACTIVE_ARCH NO
        setenv OPTIMIZATION_LEVEL 0
        setenv OS MACOS
        setenv OSAC /usr/bin/osacompile
        setenv OTHER_LDFLAGS "-all_load -ObjC"
        setenv PACKAGE_TYPE com.apple.package-type.static-library
        setenv PASCAL_STRINGS YES
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/ bin:/bin:/usr/sbin:/sbin"
        setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Developer/Headers /Developer/SDKs /Developer/Platforms"
        setenv PFE_FILE_C_DIALECTS objective-c
        setenv PHONEGAPLIB /Users/cdp134/Documents/PhoneGapLib
        setenv PKGINFO_FILE_PATH /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/PkgInfo
        setenv PLATFORM_DEVELOPER_APPLICATIONS_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
        setenv PLATFORM_DEVELOPER_BIN_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
        setenv PLATFORM_DEVELOPER_LIBRARY_DIR /Developer/Library/Xcode/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Devel oper/Library
        setenv PLATFORM_DEVELOPER_SDK_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
        setenv PLATFORM_DEVELOPER_TOOLS_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
        setenv PLATFORM_DEVELOPER_USR_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/usr
        setenv PLATFORM_DIR /Developer/Platforms/iPhoneSimulator.platform
        setenv PLATFORM_NAME iphonesimulator
        setenv PLATFORM_PREFERRED_ARCH i386
        setenv PLATFORM_PRODUCT_BUILD_VERSION 9A334
        setenv PLATFORM_VERSION_AVAILABILITY_H_FORMAT 50000
        setenv PLIST_FILE_OUTPUT_FORMAT binary
        setenv PREBINDING NO
        setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES
        setenv PRECOMP_DESTINATION_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/PrefixHeaders
        setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO
        setenv PRIVATE_HEADERS_FOLDER_PATH /usr/local/include
        setenv PRODUCT_NAME PhoneGapLib
        setenv PRODUCT_SETTINGS_PATH
        setenv PRODUCT_TYPE com.apple.product-type.library.static
        setenv PROFILING_CODE NO
        setenv PROJECT PhoneGapLib
        setenv PROJECT_DERIVED_FILE_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/DerivedSources
        setenv PROJECT_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib
        setenv PROJECT_FILE_PATH /Users/cdp134/Documents/DW_NAF/PhoneGapLib/PhoneGapLib.xcodeproj
        setenv PROJECT_NAME PhoneGapLib
        setenv PROJECT_TEMP_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build
        setenv PUBLIC_HEADERS_FOLDER_PATH /usr/local/include
        setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES
        setenv REMOVE_CVS_FROM_RESOURCES YES
        setenv REMOVE_GIT_FROM_RESOURCES YES
        setenv REMOVE_HG_FROM_RESOURCES YES
        setenv REMOVE_SVN_FROM_RESOURCES YES
        setenv REZ_COLLECTOR_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/ResourceManagerResources
        setenv REZ_EXECUTABLE YES
        setenv REZ_OBJECTS_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/ResourceManagerResources/Objects
        setenv REZ_SEARCH_PATHS "\"/Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator\" "
        setenv RUN_CLANG_STATIC_ANALYZER NO
        setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES NO
        setenv SCRIPT_INPUT_FILE_COUNT 0
        setenv SCRIPT_OUTPUT_FILE_COUNT 0
        setenv SDKROOT /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
        setenv SDK_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
        setenv SDK_NAME iphonesimulator5.0
        setenv SDK_PRODUCT_BUILD_VERSION 9A334
        setenv SED /usr/bin/sed
        setenv SEPARATE_STRIP YES
        setenv SEPARATE_SYMBOL_EDIT NO
        setenv SET_DIR_MODE_OWNER_GROUP YES
        setenv SET_FILE_MODE_OWNER_GROUP NO
        setenv SHARED_DERIVED_FILE_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator/DerivedSources
        setenv SHARED_PRECOMPS_DIR /var/folders/9n/fq9wy62x05qcb3g4dj5tbkfm0000gn/C/com.apple.Xcode.501/SharedPrecompiledHea ders
        setenv SKIP_INSTALL NO
        setenv SOURCE_ROOT /Users/cdp134/Documents/DW_NAF/PhoneGapLib
        setenv SRCROOT /Users/cdp134/Documents/DW_NAF/PhoneGapLib
        setenv STRINGS_FILE_OUTPUT_ENCODING binary
        setenv STRIP_INSTALLED_PRODUCT YES
        setenv STRIP_STYLE debugging
        setenv SUPPORTED_DEVICE_FAMILIES "1 2"
        setenv SUPPORTED_PLATFORMS "iphonesimulator iphoneos"
        setenv SYMROOT /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build
        setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
        setenv SYSTEM_APPS_DIR /Applications
        setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
        setenv SYSTEM_DEMOS_DIR /Applications/Extras
        setenv SYSTEM_DEVELOPER_APPS_DIR /Developer/Applications
        setenv SYSTEM_DEVELOPER_BIN_DIR /Developer/usr/bin
        setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Developer/Applications/Utilities/Built Examples"
        setenv SYSTEM_DEVELOPER_DIR /Developer
        setenv SYSTEM_DEVELOPER_DOC_DIR "/Developer/ADC Reference Library"
        setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Developer/Applications/Graphics Tools"
        setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Developer/Applications/Java Tools"
        setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Developer/Applications/Performance Tools"
        setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes"
        setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools
        setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Developer/ADC Reference Library/documentation/DeveloperTools"
        setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes/DeveloperTools"
        setenv SYSTEM_DEVELOPER_USR_DIR /Developer/usr
        setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Developer/Applications/Utilities
        setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
        setenv SYSTEM_LIBRARY_DIR /System/Library
        setenv TARGETED_DEVICE_FAMILY 1
        setenv TARGETNAME PhoneGapLib
        setenv TARGET_BUILD_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator
        setenv TARGET_NAME PhoneGapLib
        setenv TARGET_TEMP_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build
        setenv TEMP_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build
        setenv TEMP_FILES_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build
        setenv TEMP_FILE_DIR /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build
        setenv TEMP_ROOT /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build
        setenv TEST_AFTER_BUILD YES
        setenv UID 501
        setenv UNSTRIPPED_PRODUCT NO
        setenv USER cdp134
        setenv USER_APPS_DIR /Users/cdp134/Applications
        setenv USER_LIBRARY_DIR /Users/cdp134/Library
        setenv USE_DYNAMIC_NO_PIC YES
        setenv USE_HEADERMAP YES
        setenv USE_HEADER_SYMLINKS NO
        setenv VALIDATE_PRODUCT NO
        setenv VALID_ARCHS "i386 armv6 armv7"
        setenv VERBOSE_PBXCP NO
        setenv VERSION_INFO_BUILDER cdp134
        setenv VERSION_INFO_FILE PhoneGapLib_vers.c
        setenv VERSION_INFO_STRING "\"@(#)PROGRAM:PhoneGapLib  PROJECT:PhoneGapLib-\""
        setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode
        setenv XCODE_PRODUCT_BUILD_VERSION 4D199
        setenv XCODE_VERSION_ACTUAL 0420
        setenv XCODE_VERSION_MAJOR 0400
        setenv XCODE_VERSION_MINOR 0420
        setenv YACC /Developer/usr/bin/yacc
        /bin/sh -c /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/Script-3044C11210BC6AEE00581BFB.sh
    java -jar util/yuicompressor/yuicompressor-2.4.2.jar --nomunge --charset UTF-8 -o javascripts/phonegap.js javascripts/phonegap-uncompressed.js
    CompileC build/PhoneGapLib.build/Debug-iphonesimulator/PhoneGapLib.build/Objects-normal/i386/Camer a.o Classes/Camera.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/cdp134/Documents/DW_NAF/PhoneGapLib
        setenv LANG en_US.US-ASCII
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/ bin:/bin:/usr/sbin:/sbin"
        /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -x objective-c -arch i386 -fmessage-length=0 -fdiagnostics-print-source-range-info -fdiagnostics-show-category=id -fdiagnostics-parseable-fixits -std=c99 -Wno-trigraphs -fpascal-strings -O0 -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-shorten-64-to-32 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -fexceptions -fasm-blocks -mmacosx-version-min=10.6 -gdwarf-2 -Wno-sign-conversion -fobjc-abi-version=2 -fobjc-legacy-dispatch "-DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -iquote /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/PhoneGapLib-generated-files.hmap -I/Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulato r/PhoneGapLib.build/PhoneGapLib-own-target-headers.hmap -I/Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulato r/PhoneGapLib.build/PhoneGapLib-all-target-headers.hmap -iquote /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/PhoneGapLib-project-headers.hmap -I/Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator/include -I/Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulato r/PhoneGapLib.build/DerivedSources/i386 -I/Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulato r/PhoneGapLib.build/DerivedSources -F/Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/Debug-iphonesimulator -include /var/folders/9n/fq9wy62x05qcb3g4dj5tbkfm0000gn/C/com.apple.Xcode.501/SharedPrecompiledHea ders/PhoneGapLib_Prefix-ahgstubjlciszneebntbbngmsizb/PhoneGapLib_Prefix.pch -MMD -MT dependencies -MF /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/Objects-normal/i386/Camera.d -c /Users/cdp134/Documents/DW_NAF/PhoneGapLib/Classes/Camera.m -o /Users/cdp134/Documents/DW_NAF/PhoneGapLib/build/PhoneGapLib.build/Debug-iphonesimulator/ PhoneGapLib.build/Objects-normal/i386/Camera.o
    /Users/cdp134/Documents/DW_NAF/PhoneGapLib/Classes/Camera.m:178:13: error: type of property 'returnType' ('unsigned int') does not match type of ivar 'returnType' ('enum DestinationType') [3]
    @synthesize returnType;
                 ^
    /Users/cdp134/Documents/DW_NAF/PhoneGapLib/Classes/Camera.h:25:23: note: ivar is declared here [3]
             enum DestinationType returnType;
                                  ^
    1 error generated.
    operation completed
              emptySelectCount =  10
              readCount = 311

    Carey,
    I have tried london1a1's workaround, and it has not made any difference.
    It seems that london1a1 suggests changing the Camera.h file in this location:
              Users/london1a1/Documents/DW_NAF/PhoneGapLib/PhoneGapLib/Classes/Camera.h
    Whereas you're saying to change the Camera.h file in this location:
              /Applications/Adobe Dreamweaver CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib/Classes/Camera.h
    I've tried changing the Camera.h file in both locations.  Neither has made a difference.

  • Error occurs when deploy my App to iPhone OS2

    Hi, I am a newbee in iPhone development.
    I have met a problem when deploy my simple application to iPhone OS2.0
    I create my app via XCode, by using the framework in iPhone SDK.(The SDK is the latest version, I downloaded several days ago)
    After I succeed in deploying the application into the iPhone simulator,
    I try to deploy my application to a real iPhone OS2.0
    I know I need sign the binary before deployment,
    so I create a certificate named "Test1" via "Keychain Access".
    Then I add a "New Run Script Build Phase", contains the statement.
    CODESIGN_ALLOCATE=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codes ign_allocate codesign -s Test1 -f ${TARGET_BUILD_DIR}/${EXECUTABLE_FOLDER_PATH}/${EXECUTABLE_NAME}
    Then switch the project to iPhone Device / Release Version.
    Build, no error
    When deploying to iPhone, I got error,
    Here is the detail from Console .
    Mon Aug 25 11:50:14 unknown securityd[77] <Error>: mobile_installat[85] SecItemCopyMatching: missing entitlement
    Mon Aug 25 11:50:14 unknown mobile_installation_proxy[85] <Error>: verify_executable: Could not validate signature: e8008015
    Mon Aug 25 11:50:14 unknown mobile_installation_proxy[85] <Error>: preflight_application_install: Could not verify /var/tmp/install_staging.WF8R/Test1.app/Test1
    Mon Aug 25 11:50:14 unknown mobile_installation_proxy[85] <Error>: install_application: Could not preflight application install
    Mon Aug 25 11:50:14 unknown mobile_installation_proxy[85] <Error>: handle_install: Installation failed
    Mon Aug 25 11:50:49 unknown afcd[92] <Error>: user mobile has uid 501
    Can anybody help me?
    Is it necessary to pay $99 at http://developer.apple.com/iphone/program/apply.html?
    Is there any article tell me how to deploy step by step?
    Thank you very much

    Yes, it is necesery to pay the 99 dollars.
    For that money you have access to an internet suite that allows you to create certificates.
    These certificates are needed to test your software on the real device as well as deploy the software through app store

  • Help! GameKit framework not found!?

    Ld /Users/user/Library/Developer/Xcode/DerivedData/GliderPlane-bhqypiokhxpkuihbqyj vbkskkgwp/ArchiveIntermediates/GliderPlane/IntermediateBuildFilesPath/GliderPlan e.build/Release-iphoneos/GliderPlane.build/Objects-normal/armv6/GliderPlane normal armv6
    cd /Users/user/Documents/Codes/GliderPlane
    setenv IPHONEOSDEPLOYMENTTARGET 4.3
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -L/Users/user/Library/Developer/Xcode/DerivedData/GliderPlane-bhqypiokhxpkuihbq yjvbkskkgwp/ArchiveIntermediates/GliderPlane/BuildProductsPath/Release-iphoneos -F/Users/user/Library/Developer/Xcode/DerivedData/GliderPlane-bhqypiokhxpkuihbq yjvbkskkgwp/ArchiveIntermediates/GliderPlane/BuildProductsPath/Release-iphoneos -filelist /Users/user/Library/Developer/Xcode/DerivedData/GliderPlane-bhqypiokhxpkuihbqyj vbkskkgwp/ArchiveIntermediates/GliderPlane/IntermediateBuildFilesPath/GliderPlan e.build/Release-iphoneos/GliderPlane.build/Objects-normal/armv6/GliderPlane.Link FileList -dead_strip -miphoneos-version-min=4.3 -framework GameKit -framework iAd -framework Foundation -framework UIKit -framework CoreGraphics -framework QuartzCore -o /Users/user/Library/Developer/Xcode/DerivedData/GliderPlane-bhqypiokhxpkuihbqyj vbkskkgwp/ArchiveIntermediates/GliderPlane/IntermediateBuildFilesPath/GliderPlan e.build/Release-iphoneos/GliderPlane.build/Objects-normal/armv6/GliderPlane
    ld: framework not found GameKit
    collect2: ld returned 1 exit status
    Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
    Thats the exact error I get! I don't know what to do! I linked the framework and everything idk waht to do!

    Also I added the GameKit framework once before and I removed it from the app by deleting references... do you think that would cause the problem?

  • Problems building w/ Snow Leopard and iPhone SDK 3.0 Snow Leopard

    Suddenly having problems building and codesigning after upgrading to Snow Leopard and iPhone SDK 3.0 Snow Leopard.
    Profile set to Distribution, Device 2.2.1 Distribution, as has worked in the past.
    The build fails with this error:
    Command <com.apple.tools.product-pkg-utility> failed with exit code -1
    The below section is highlighted in Build Results.
    ProcessingProductPackaging /Users/harvey/Documents/iPhoneApp_Work/Listening-Hiragana/iPhone_Comprehension_timerharvey/entitlements.plist "/Users/harvey/Documents/iPhoneApp_Work/Listening-Hiragana/iPhone_Comprehension_timer_harvey/build/iPhoneComprehension.build/Distribution-iphoneos/Kana Listening.build/iPhone_Comprehension.xcent"
    cd /Users/harvey/Documents/iPhoneApp_Work/Listening-Hiragana/iPhone_Comprehension_timerharvey
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
    <com.apple.tools.product-pkg-utility> /Users/harvey/Documents/iPhoneApp_Work/Listening-Hiragana/iPhone_Comprehension_timerharvey/entitlements.plist -entitlements -format xml -o "/Users/harvey/Documents/iPhoneApp_Work/Listening-Hiragana/iPhone_Comprehension_timer_harvey/build/iPhoneComprehension.build/Distribution-iphoneos/Kana Listening.build/iPhone_Comprehension.xcent"
    Any ideas? This is really strange.
    The same error occurs when trying to build for Device - 3.0, and any other version it seems.
    This is especially frustrating as I'm simply trying to update an app that I released before I upgraded.
    I will love whoever helps me forever and ever.
    saikyo

    Found the new SDK on the CD. Now I am running XCode 3.2.
    I'm talking to myself now for the benefit of future readers.
    On the Dev Center I see the note:
    "Important: You will need to re-install the iPhone SDK for Snow Leopard if you plan on developing iPhone applications after upgrading your Mac to Snow Leopard and installing Xcode 3.2."
    So I'm going to download and install the iPhone SDK 3.0 (Snow Leopard) from the SDK downloads area on the Dev Center page. This seems weird to me as it's 3.0... but I'm running 3.2 now... I guess this will just update my 3.2?
    I also notice that when I run XCode 3.2 I don't have Simulator as an option anymore in my profiles.
    Going to go ahead with the update now and see how it goes.

  • IPhone: Code Signing adds Entitlements.plist instead of provisioning

    During Code Signing stage, on a Distribution Build for Device, includes an Entitlement.plist file instead fo appending the mobile provisioning profile, producing invalid files for the AppStore.
    I've performed several attempts with different configurations, full cleaning and rebuilding the solution after starting from scratch, but always get this command line during the build:
    ProcessingProductPackaging /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/Entitleme nts.plist "/Users/fbaytelm/Documents/Proyectos/iPhone/HexPlumber Project/HexaPlumber/build/HexaPlumber.build/Distribution-iphoneos/HexaPlumber Full.build/HexaPlumber.xcent"
    cd "/Users/fbaytelm/Documents/Proyectos/iPhone/HexPlumber Project/HexaPlumber"
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
    <com.apple.tools.product-pkg-utility> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.1.sdk/Entitleme nts.plist -entitlements -format xml -o "/Users/fbaytelm/Documents/Proyectos/iPhone/HexPlumber Project/HexaPlumber/build/HexaPlumber.build/Distribution-iphoneos/HexaPlumber Full.build/HexaPlumber.xcent"
    Any help?

    Hi BeSharp...
    Unluckily, your blog did not help me. I do indeed have the correct mobile provisioning. However, it is not being copied/used during the distribution signing process. Instead, it is using an Entitlements.plist file. No .mobileprovisioning file in the build log...

  • Problem with playing a sound file.

    Hi,
    I simply want to play a sound by a button click. I imported
    <AVFoundation/AVAudioPlayer.h>. The code block is here:
    In .h file:
    #import <UIKit/UIKit.h>
    #import <AVFoundation/AVAudioPlayer.h>
    @interface PlaySoundViewController : UIViewController <AVAudioPlayerDelegate>
    in .m file:
    -(IBAction)btnPlay:(id)sender
        //Get the filename of the sound file:
        NSString *path = [[NSBundle mainBundle] pathForResource:@"REC001" ofType:@"MP3"];
        AVAudioPlayer* thePlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:NULL];//error here as it will compile if I commented it (and two line after) out.
        thePlayer.delegate = self;
        [thePlayer play];   
    Everything looks fine but it failed when I tried to run it. Looks like it cannot find my sound file "REC001.MP3". I put it in folder ".../PlaySound/Resource Files/SoundFiles/REC001.MP3", and "PlaySound" is my project name. However the path returned is ".../PlaySound/REC001.MP3". I guess this is why it cannot find the object. But it didn't work even I put the sound file under "PlaySound" directly. Anyone has a solution?
    Thanks.
    Regards,
    Taizhi

    Hi Mark,
    Thanks for the reply. Based on your instruction, I checked and I can see the sound files in Build Phases. The location is ".../PlaySound/SoundFiles/REC001.MP3". I don't know why it ignores folder "Resource Files". I guess that is the way it is as I also can see other images in different folders which are shown properly in the project.
    The detailed error message is here:
    Ld "/Users/greatzhi2001/Library/Developer/Xcode/DerivedData/PlaySound-anydnuuxbpxz lqfodwbuqqjwjzcd/Build/Products/Debug-iphonesimulator/PlaySound.app/PlaySound" normal i386
        cd "/Users/greatzhi2001/Desktop/iProjects/PlaySound"
        setenv MACOSX_DEPLOYMENT_TARGET 10.6
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr /bin:/usr/bin:/bin:/usr/sbin:/sbin"
        /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3 .sdk -L/Users/greatzhi2001/Library/Developer/Xcode/DerivedData/PlaySound-anydnuuxbpx zlqfodwbuqqjwjzcd/Build/Products/Debug-iphonesimulator -F/Users/greatzhi2001/Library/Developer/Xcode/DerivedData/PlaySound-anydnuuxbpx zlqfodwbuqqjwjzcd/Build/Products/Debug-iphonesimulator "-F/Users/greatzhi2001/Desktop/iProjects/PlaySound" -filelist "/Users/greatzhi2001/Library/Developer/Xcode/DerivedData/PlaySound-anydnuuxbpxz lqfodwbuqqjwjzcd/Build/Intermediates/PlaySound.build/Debug-iphonesimulator/PlayS ound.build/Objects-normal/i386/PlaySound.LinkFileList" -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -framework UIKit -framework Foundation -framework CoreGraphics -o "/Users/greatzhi2001/Library/Developer/Xcode/DerivedData/PlaySound-anydnuuxbpxz lqfodwbuqqjwjzcd/Build/Products/Debug-iphonesimulator/PlaySound.app/PlaySound"
    Undefined symbols for architecture i386:
      "_OBJC_CLASS_$_AVAudioPlayer", referenced from:
          objc-class-ref in PlaySoundViewController.o
    ld: symbol(s) not found for architecture i386
    collect2: ld returned 1 exit status
    Is the framework AVFoundation I added wrong? Thanks.
    Regards,
    Taizhi

  • Dreamweaver+PhoneGap App build nightmare

    Thanks for the offer of help.
    I have been building an app using Dreamweaver and the built in PhoneGap. Everything was working, including the emulator started by Dreamweaver and the Xcode build.
    The Dreamweaver emulator worked to start with but has now stopped, and I get a build error, shown below:
    ld: library not found for -lPhoneGapLib
    Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang
    failed with exit code 1
    As requested, here is the beginning of the build log (if I paste in more, the message crashes on Post Message - so please let me know how to send the whole log):
    cloning PhoneGapLib
    <DW>
    mkdir -p /Users/stuartbatley/Documents/DW_NAF
    cp -r -f /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    chmod -R 777 /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    </DW>
    operation completed
        emptySelectCount =  4
        readCount = 1
    Cloning seed app for iOS
    <DW>
    cd /Users/stuartbatley/Desktop
    /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/scripts/iGap.sh /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapApp 'iGlimpse Nav' 'Stuart Batley' 'com.iglimpse.test' '0.5' /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    </DW>
    copying project directory from /Applications/Adobe Dreamweaver CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapApp to com.iglimpse.test
    /Users/stuartbatley/Desktop
    finished.
    operation completed
        emptySelectCount =  7
        readCount = 4
    building iGlimpse Nav for iOS.
    <DW>
    cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/
    chmod 777 /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/www/phonegap.js
    /Developer/usr/bin/xcodebuild -project 'test.xcodeproj' -configuration Debug -sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
    </DW>
    operation completed
        emptySelectCount =  6
        readCount = 1
    ERROR: The requested SDK ("4.3") is not installed.
    cloning PhoneGapLib
    <DW>
    mkdir -p /Users/stuartbatley/Documents/DW_NAF
    cp -r -f /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    chmod -R 777 /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    </DW>
    operation completed
        emptySelectCount =  0
        readCount = 1
    building iGlimpse Nav for iOS.
    <DW>
    cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/
    chmod 777 /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/www/phonegap.js
    /Developer/usr/bin/xcodebuild -project 'test.xcodeproj' -configuration Debug -sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
    </DW>
    operation completed
        emptySelectCount =  2
        readCount = 1
    ERROR: The requested SDK ("4.3") is not installed.
    cloning PhoneGapLib
    <DW>
    mkdir -p /Users/stuartbatley/Documents/DW_NAF
    cp -r -f /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    chmod -R 777 /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    </DW>
    operation completed
        emptySelectCount =  0
        readCount = 1
    building iGlimpse Nav for iOS.
    <DW>
    cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/
    chmod 777 /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/www/phonegap.js
    /Developer/usr/bin/xcodebuild -project 'test.xcodeproj' -configuration Debug -sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
    </DW>
    operation completed
        emptySelectCount =  2
        readCount = 1
    ERROR: The requested SDK ("4.3") is not installed.
    cloning PhoneGapLib
    <DW>
    mkdir -p /Users/stuartbatley/Documents/DW_NAF
    cp -r -f /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    chmod -R 777 /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    </DW>
    operation completed
        emptySelectCount =  0
        readCount = 1
    building iGlimpse Nav for iOS.
    <DW>
    cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/
    chmod 777 /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/www/phonegap.js
    /Developer/usr/bin/xcodebuild -project 'test.xcodeproj' -configuration Debug -sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
    </DW>
    operation completed
        emptySelectCount =  2
        readCount = 1
    ERROR: The requested SDK ("4.3") is not installed.
    cloning PhoneGapLib
    <DW>
    mkdir -p /Users/stuartbatley/Documents/DW_NAF
    cp -r -f /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    chmod -R 777 /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    </DW>
    operation completed
        emptySelectCount =  1
        readCount = 1
    building iGlimpse Nav for iOS.
    <DW>
    cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/
    chmod 777 /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/www/phonegap.js
    /Developer/usr/bin/xcodebuild -project 'test.xcodeproj' -configuration Debug -sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
    </DW>
    operation completed
        emptySelectCount =  15
        readCount = 1
    ERROR: The requested SDK ("4.3") is not installed.
    cloning PhoneGapLib
    <DW>
    mkdir -p /Users/stuartbatley/Documents/DW_NAF
    cp -r -f /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    chmod -R 777 /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    </DW>
    operation completed
        emptySelectCount =  0
        readCount = 1
    building iGlimpse Nav for iOS.
    <DW>
    cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/
    chmod 777 /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/www/phonegap.js
    /Developer/usr/bin/xcodebuild -project 'test.xcodeproj' -configuration Debug -sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
    </DW>
    operation completed
        emptySelectCount =  2
        readCount = 1
    ERROR: The requested SDK ("4.3") is not installed.
    cloning PhoneGapLib
    <DW>
    mkdir -p /Users/stuartbatley/Documents/DW_NAF
    cp -r -f /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    chmod -R 777 /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    </DW>
    operation completed
        emptySelectCount =  0
        readCount = 1
    building iGlimpse Nav for iOS.
    <DW>
    cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/
    chmod 777 /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/www/phonegap.js
    /Developer/usr/bin/xcodebuild -project 'test.xcodeproj' -configuration Debug -sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
    </DW>
    operation completed
        emptySelectCount =  2
        readCount = 1
    ERROR: The requested SDK ("4.3") is not installed.
    cloning PhoneGapLib
    <DW>
    mkdir -p /Users/stuartbatley/Documents/DW_NAF
    cp -r -f /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    chmod -R 777 /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    </DW>
    operation completed
        emptySelectCount =  4
        readCount = 1
    building iGlimpse Nav for iOS.
    <DW>
    cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/
    chmod 777 /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/www/phonegap.js
    /Developer/usr/bin/xcodebuild -project 'test-iPad.xcodeproj' -configuration Debug -sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
    </DW>
    Build settings from command line:
        SDKROOT = iphonesimulator4.3
    === BUILD NATIVE TARGET test OF PROJECT test-iPad WITH CONFIGURATION Debug ===
    Check dependencies
    Unsupported compiler 'GCC 4.2' selected for architecture 'i386'
    operation completed
        emptySelectCount =  35
        readCount = 9
    cloning PhoneGapLib
    <DW>
    mkdir -p /Users/stuartbatley/Documents/DW_NAF
    cp -r -f /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    chmod -R 777 /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    </DW>
    operation completed
        emptySelectCount =  0
        readCount = 1
    building iGlimpse Nav for iOS.
    <DW>
    cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/
    chmod 777 /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/www/phonegap.js
    /Developer/usr/bin/xcodebuild -project 'test.xcodeproj' -configuration Debug -sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk
    </DW>
    Build settings from command line:
        SDKROOT = iphonesimulator4.3
    === BUILD NATIVE TARGET test OF PROJECT test WITH CONFIGURATION Debug ===
    Check dependencies
    Unsupported compiler 'GCC 4.2' selected for architecture 'i386'
    operation completed
        emptySelectCount =  7
        readCount = 9
    cloning PhoneGapLib
    <DW>
    mkdir -p /Users/stuartbatley/Documents/DW_NAF
    cp -r -f /Applications/Adobe\ Dreamweaver\ CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/PhoneGapLib /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    chmod -R 777 /Users/stuartbatley/Documents/DW_NAF/PhoneGapLib
    </DW>
    operation completed
        emptySelectCount =  0
        readCount = 1
    building iGlimpse Nav for iOS.
    <DW>
    cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/
    chmod 777 /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/www/phonegap.js
    /Developer/usr/bin/xcodebuild -project 'test.xcodeproj' -configuration Debug -sdk /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk
    </DW>
    Build settings from command line:
        SDKROOT = iphonesimulator5.0
    === BUILD NATIVE TARGET test OF PROJECT test WITH CONFIGURATION Debug ===
    Check dependencies
    ProcessInfoPlistFile build/Debug-iphonesimulator/test.app/Info.plist test-Info.plist
        cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/ bin:/bin:/usr/sbin:/sbin"
        builtin-infoPlistUtility test-Info.plist -genpkginfo /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/Debug-iphonesimulator/test.app/Pk gInfo -expandbuildsettings -format binary -platform iphonesimulator -o /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/Debug-iphonesimulator/test.app/In fo.plist
    LOG ENDS:
    CpResource Default.png build/Debug-iphonesimulator/test.app/Default.png
        cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/ bin:/bin:/usr/sbin:/sbin"
        builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/Default.png /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/Debug-iphonesimulator/test.app
    CpResource icon.png build/Debug-iphonesimulator/test.app/icon.png
        cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/ bin:/bin:/usr/sbin:/sbin"
        builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/icon.png /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/Debug-iphonesimulator/test.app
    CpResource www build/Debug-iphonesimulator/test.app/www
        cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/ bin:/bin:/usr/sbin:/sbin"
        builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/www /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/Debug-iphonesimulator/test.app
    Ld build/Debug-iphonesimulator/test.app/test normal i386
        cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS
        setenv MACOSX_DEPLOYMENT_TARGET 10.6
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/ bin:/bin:/usr/sbin:/sbin"
        /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk -L/Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/Debug-iphonesimulator -F/Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/Debug-iphonesimulator -filelist /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/test.build/Debug-iphonesimulator/ test.build/Objects-normal/i386/test.LinkFileList -mmacosx-version-min=10.6 -Xlinker -objc_abi_version -Xlinker 2 -all_load -Obj-C -Xlinker -no_implicit_dylibs -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 -lPhoneGapLib -framework Foundation -framework UIKit -framework CoreGraphics -framework AddressBook -framework AddressBookUI -framework AudioToolbox -framework AVFoundation -framework CFNetwork -framework CoreLocation -framework MediaPlayer -framework QuartzCore -framework SystemConfiguration -framework MobileCoreServices -o /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/Debug-iphonesimulator/test.app/te st
    ld: library not found for -lPhoneGapLib
    Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1
    GenerateDSYMFile build/Debug-iphonesimulator/test.app.dSYM build/Debug-iphonesimulator/test.app/test
        cd /Users/stuartbatley/Desktop/com.iglimpse.test_iOS
        setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/ bin:/bin:/usr/sbin:/sbin"
        /Developer/usr/bin/dsymutil /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/Debug-iphonesimulator/test.app/te st -o /Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/Debug-iphonesimulator/test.app.dS YM
    error: unable to open executable '/Users/stuartbatley/Desktop/com.iglimpse.test_iOS/build/Debug-iphonesimulator/test.app/t est'
    operation completed
        emptySelectCount =  21

    I am getting similar error when trying to build IOS 5.0 app:
    12/8/11 6:56:46.403 PM [0x0-0x55055].com.adobe.dreamweaver-11.5: /Applications/Adobe Dreamweaver CS5.5/Configuration/NativeAppFramework/DWPhoneGap/iphone/scripts/iGap.sh: line 33: [: too many arguments
    12/8/11 6:56:55.942 PM [0x0-0x55055].com.adobe.dreamweaver-11.5: ** BUILD FAILED **
    12/8/11 6:56:55.942 PM [0x0-0x55055].com.adobe.dreamweaver-11.5: The following build commands failed:
    12/8/11 6:56:55.942 PM [0x0-0x55055].com.adobe.dreamweaver-11.5:           CompileC build/PhoneGapLib.build/Debug-iphonesimulator/PhoneGapLib.build/Objects-normal/i386/Camer a.o Classes/Camera.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    12/8/11 6:56:55.942 PM [0x0-0x55055].com.adobe.dreamweaver-11.5: (1 failure)
    Please advice.

  • Help!:  Build error on SDK 3.0

    Hi,
    I get the following error while building on SDK 3.0. The project includes Frameworks - CoreFoundation, Foundation, MessageUI and UIKit; but the MessageUI is in 'red' color. Any idea?
    Thanks - Sam.
    cd "/Users/sam/myApp"
    setenv MACOSXDEPLOYMENTTARGET 10.5
    setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.0.sdk "-L/Users/sam/myApp/build/Debug-iphonesimulator" "-F/Users/sam/myApp/build/Debug-iphonesimulator" -filelist "/Users/sam/myApp/build/myApp.build/Debug-iphonesimulator/myApp.build/Objects-normal/i386/myApp.LinkFileList" -mmacosx-version-min=10.5 -framework CoreGraphics -framework CoreFoundation -framework Foundation -framework MessageUI -framework UIKit -o "/Users/sam/myApp/build/Debug-iphonesimulator/myApp.app/iNotate"
    Undefined symbols:
    ".objcclass_nameCameraViewController", referenced from:
    literal-pointer@_OBJC@__clsrefs@CameraViewController in myAppAppDelegate.o
    ld: symbol(s) not found
    collect2: ld returned 1 exit status
    ".objcclass_nameCameraViewController", referenced from:
    literal-pointer@_OBJC@__clsrefs@CameraViewController in myAppAppDelegate.o
    ld: symbol(s) not found
    collect2: ld returned 1 exit status
    Build failed (1 error)

    Hi,
    I checked the build/.../.../i386 directories (for simulator and device) - and the .o file is not present.
    After 'Clean All', the all .o's are removed. After 'Build', all but that .o files are built. Hmmm.
    The project includes the .h and the .m file for the CameraViewController class. It is the newly-added class to the project.
    What would be the reason for this file to be ignored during the build?
    Sam

Maybe you are looking for

  • WorkShop 3.2.0 - WEB-INF/classes not included in war file

    I've created the "Faces Example" project in Workshop Studio 3.2.0 and it's running fine. However, when I export the war file to run it on another server the class files located at "WEB-INF/classes" are not included with the war. Any suggestions on wh

  • IPad Charger temperature goes too high

    I bought iPad Mini with Retina display recently. I attached a charger properly. After some time when i touched the charger I found its temperature is too high. So I removed and checked USB side of the cable, its temperature was so high that I could n

  • I cant upload any documents by using Safari or google chrome. Only show the camera role.. Can any one help ?

    I Cant upload documents by using safari

  • Solution Verification

    Hi, We are working on a small IPVS solution for a customer with the below mentioned quantities. VC220-K9-G5 x 6 VC025 x 6 L-VM300-08 x 1 SGE2000P-G5 x 1 NSS322D04-K9 x 1 Server for L-VM300 x 1 The customer requirement on which we have made the above

  • Organizer does not recognize my zen to

    Hi,Help! I just had my firmware redownloaded by creative and now my zen touch is not coming up on the organizer. I installed the version 5 and also the zen and nomad plugin and still? no luck. Anyone who has a solution it would be appreciated. Thanks