• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)


  • Subject: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
  • From: Jim Fridlund <email@hidden>
  • Date: Sun, 13 Jul 2008 14:41:41 -0700

Hi all. I just joined the list in hope that someone can help me with my Xcode problem. I am using a MacBook Pro with Xcode 3.1 installed (I tried iphone_sdk_final.dmg and xcode31_2199_developerdvd.dmg). Previously, I had Xcode 3.1 beta versions for iPhone development. I am able to build for iPhone apps just fine, but I would also like to build Cocoa apps for OS X using Xcode.

As a simple example, I create a new project as a Cocoa application. When I click on 'Build and Go', I get the following errors from the build output:

CopyStringsFile /Users/jim/Test/build/Debug/Test.app/Contents/Resources/English
English.lproj/InfoPlist.strings: Insecure operation
...

CopyStringsFile /Users/jim/Test/build/Debug/Test.app/Contents/Resources/English.lproj/InfoPlist.strings English.lproj/InfoPlist.strings
    mkdir /Users/jim/Test/build/Debug/Test.app/Contents/Resources/English.lproj
    cd /Users/jim/Test
    /Developer/Library/Xcode/Plugins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings --validate --inputencoding UTF-16 --outputencoding UTF-16 English.lproj/InfoPlist.strings --outdir /Users/jim/Test/build/Debug/Test.app/Contents/Resources/English.lproj
English.lproj/InfoPlist.strings: Insecure operation


It doesn't seem to like the copystrings command. If I manually invoke the copystrings command from the shell, I do not get the errors and it exits with status 0.

jim@mac[~/Test]$ rm -rf build
jim@mac[~/Test]$ /Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/copystrings --validate --inputencoding UTF-16 --outputencoding UTF-16 English.lproj/InfoPlist.strings --outdir /Users/jim/Test/build/Debug/Test.app/Contents/Resources/English.lproj
English.lproj Info.plist Test.xcodeproj Test_Prefix.pch main.m making /Users/jim/Test/build/Debug/Test.app/Contents/Resources/English.lproj
jim@mac[~/Test]$ echo $?
0

Using the command line tool, I am able to build the application which suggest my Xcode installation is fine.

jim@mac[~/Test]$ xcodebuild -configuration Debug
=== BUILDING NATIVE TARGET Test OF PROJECT Test WITH CONFIGURATION Debug ===

Checking Dependencies...
...
Touch /Users/jim/Test/build/Debug/Test.app
    cd /Users/jim/Test
    /usr/bin/touch -c /Users/jim/Test/build/Debug/Test.app
** BUILD SUCCEEDED **

First, building from the command line appears to work. Second, the command line build doesn't use copystrings. I'm relatively new to Xcode so I don't know why the behavior would be different. In any case, I thought having installed Xcode 3.1 beta for iPhone development was the reason why I was unable to build applications for OS X, but I now have the final version Xcode 3.1 installed and I still see the problem. I'm thinking there must be something missing in my environment? Any help greatly appreciated. Thanks in advance.
--
Jim


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
      • From: Michael Rawdon <email@hidden>
  • Prev by Date: Re: print application stdout to terminal?
  • Next by Date: C++ question: dynamic_cast
  • Previous by thread: Re: IB 3.1 in Xcode 3.1 package
  • Next by thread: Re: Xcode 3.1 builds fails for OS X Cocoa apps (copystrings)
  • Index(es):
    • Date
    • Thread