XCode4 Support

816 views
Skip to first unread message

John Wang

unread,
Feb 7, 2011, 9:10:16 PM2/7/11
to Three20
Hi All,

If you are having problems with XCode4 and Three20, please either
reply to this thread or send me a message with the issues you are
having. If the send a stack trace, please send a link to a GitHub Gist
(gist.github.com) instead.

Right now, I only see 3 items:
http://groups.google.com/group/three20/browse_thread/thread/1ce313396d9c3b36
http://groups.google.com/group/three20/browse_thread/thread/51f399b925defeec
http://groups.google.com/group/three20/browse_thread/thread/cde36b7dab178bad

Cheers,
John

Tom Angistalis

unread,
Feb 8, 2011, 11:46:36 AM2/8/11
to Three20
Hello,

can you give me some instructions? I really need to build on Xcode4.
I'm having a problem when i try to archive the project. It builds
succesfully in debug mode.

On Feb 8, 4:10 am, John Wang <jwang...@gmail.com> wrote:
> Hi All,
>
> If you are having problems with XCode4 and Three20, please either
> reply to this thread or send me a message with the issues you are
> having. If the send a stack trace, please send a link to a GitHub Gist
> (gist.github.com) instead.
>
> Right now, I only see 3 items:http://groups.google.com/group/three20/browse_thread/thread/1ce313396...http://groups.google.com/group/three20/browse_thread/thread/51f399b92...http://groups.google.com/group/three20/browse_thread/thread/cde36b7da...
>
> Cheers,
> John

justice

unread,
Feb 8, 2011, 9:03:43 PM2/8/11
to Three20
The reason is is quiet with regard to XCode 4 is because it is still
under NDA. Once it is released you'll probably see a major effort to
get it "officially" working under XCode 4.

On Feb 7, 9:10 pm, John Wang <jwang...@gmail.com> wrote:
> Hi All,
>
> If you are having problems with XCode4 and Three20, please either
> reply to this thread or send me a message with the issues you are
> having. If the send a stack trace, please send a link to a GitHub Gist
> (gist.github.com) instead.
>

RickyB

unread,
Feb 9, 2011, 9:27:01 PM2/9/11
to Three20
I get this error when attempting to use the python script:

Error: "Couldn't find the resources children."

Likely related to the fact that a new Xcode 4 project has a different
folder structure than Xcode 3. Looking forward to support for 4!

On Feb 7, 9:10 pm, John Wang <jwang...@gmail.com> wrote:
> Hi All,
>
> If you are having problems with XCode4 and Three20, please either
> reply to this thread or send me a message with the issues you are
> having. If the send a stack trace, please send a link to a GitHub Gist
> (gist.github.com) instead.
>

udibr

unread,
Mar 2, 2011, 9:37:50 AM3/2/11
to Three20
I tried the manual steps to integrate Three20 into an existing xcode4
project and failed. The added Three20 project files can not be opened
like they used to in an xcode3 project and most of the instructions at
https://github.com/facebook/three20 for manual install are irrelevant
for xcode4.

Instead I've started from an existing xcode3 project which already
works with Three20 (try one of the samples) and moved to it all my
files, this require you to recreate the projects groups structure you
had before.

Vincent

unread,
Mar 2, 2011, 11:44:30 AM3/2/11
to Three20
I'm currently working on a project using three20 with Xcode4 GM +
llvm2.
Imho, the problem is not three20 but Xcode4 GM...
I can't get code sense working properly, Xcode is lost with three20
Headers.

But i can successfuly build in any configuration, debug on device and
even archive and publish on appstore.
I'll try with the xcconfig fix you posted, my setup is different i
think.

On Feb 8, 3:10 am, John Wang <jwang...@gmail.com> wrote:
> Hi All,
>
> If you are having problems with XCode4 and Three20, please either
> reply to this thread or send me a message with the issues you are
> having. If the send a stack trace, please send a link to a GitHub Gist
> (gist.github.com) instead.
>

Vincent

unread,
Mar 3, 2011, 10:45:26 AM3/3/11
to Three20
Just gave a try at Marcus configuration :
http://groups.google.com/group/three20/msg/1a653b4d0b51d701
That works wonderfuly, and sorted my code sense issues... but.
...But strangely now I've lost "live issues".

Anyway I prefer having code sense / completion than live issues.
That GM is really unstable, I hope we'll get a new version next week
with iOS 4.3 release.

I'll try John fix next : http://groups.google.com/group/three20/msg/398ace06bc820440

Thanks marcus and john for your help :)

Marcus Brito

unread,
Mar 3, 2011, 11:21:10 AM3/3/11
to thr...@googlegroups.com
On Thu, Mar 3, 2011 at 12:45 PM, Vincent <vgu...@gmail.com> wrote:

Just gave a try at Marcus configuration :

I should do a  full write up on how to get Three20 to work on Xcode 4, but in short:

* Edit Library.xcconfig, add SKIP_INSTALL = YES
* Edit Paths.xcconfig, set HEADER_SEARCH_PATHS to $(STDLIB_HEADERS) "$(BUILT_PRODUCTS_DIR)/../three20" "$(BUILT_PRODUCTS_DIR)/../../three20"
* Edit Protect.command, change it to look like this: http://bit.ly/dWoVaQ
* In your project configuration, change "User Header Search Paths" to include $(BUILT_PRODUCTS_DIR)/../three20 and $(BUILT_PRODUCTS_DIR)/../../three20

If your project was created in Xcode 4, ttmodule.py will fail to add Three20.bundle to it -- you'll have to do it manually. And that's it.

The changes to Three20 itself mentioned above are in a semi-private fork of mine. You can check it out if you want, it's on github. The commits of interest are:




Most of the changes stem from the fact that public headers are copied to different locations, depending if you're running a normal build or an archive build -- hence the two header search paths. 

Setting SKIP_INSTALL to YES fixes a problem where the generated archive includes the Three20 libraries (making it impossible to generate an .ipa from the archive) if this option is not set.

-- Marcus

John Wang

unread,
Mar 3, 2011, 8:55:01 PM3/3/11
to Three20
Yea. So far these aren't ideal quite yet. I'm working to see if we can
make use of the Workspaces in XCode4, as that seems to be Apple's
recommendation. Hopefully, that'll help out a lot.

On Mar 3, 6:21 am, Marcus Brito <mbr...@gmail.com> wrote:
> On Thu, Mar 3, 2011 at 12:45 PM, Vincent <vgue...@gmail.com> wrote:
>
> Just gave a try at Marcus configuration :
>
>
>
> I should do a  full write up on how to get Three20 to work on Xcode 4, but
> in short:
>
> * Edit Library.xcconfig, add SKIP_INSTALL = YES
> * Edit Paths.xcconfig, set HEADER_SEARCH_PATHS to $(STDLIB_HEADERS)
> "$(BUILT_PRODUCTS_DIR)/../three20" "$(BUILT_PRODUCTS_DIR)/../../three20"
> * Edit Protect.command, change it to look like this:http://bit.ly/dWoVaQ
> * In your project configuration, change "User Header Search Paths" to
> include $(BUILT_PRODUCTS_DIR)/../three20 and
> $(BUILT_PRODUCTS_DIR)/../../three20
>
> If your project was created in Xcode 4, ttmodule.py will fail to add
> Three20.bundle to it -- you'll have to do it manually. And that's it.
>
> The changes to Three20 itself mentioned above are in a semi-private fork of
> mine. You can check it out if you want, it's on github. The commits of
> interest are:
>
> https://github.com/pazustep/three20/commit/dc6f8627dd7616380bd829039e...
>
> https://github.com/pazustep/three20/commit/4a9aad4eb90a6962dd729d245f...

Vincent

unread,
Mar 4, 2011, 4:48:57 AM3/4/11
to Three20
Marcus solution is a good start since it doesn't use SRCROOT as a
build location.
This is a must have with Xcode 4, now defaulting Build locations into
the DerivedData shared folder...
And I'm afraid Archive doesn't respect custom locations (probably a
beta bug)

GM Seed 2 published yesterday fixed many issues for me, great :)
I hope that workspace feature will be as advertised... Will try it
too.
Would be great that setting up solutions with three20 (and others)
being much simpler.
(g'bye ttmodule.py?)

AK

unread,
Mar 9, 2011, 1:57:11 PM3/9/11
to Three20
I'm still having this issue. I've made the changes as per Marcus, but
I'm still getting the exact same issues. It still can't find three20/
three20.h.

The three20 stuff is getting built properly. But the project can't
find its header files. I have the header search paths set to:
$(BUILT_PRODUCTS_DIR)/../../three20
$(BUILT_PRODUCTS_DIR)/../three20

AK

unread,
Mar 9, 2011, 2:08:06 PM3/9/11
to Three20
CompileC "/Volumes/My Eye/Library/Developer/Xcode/DerivedData/xxxxxx-
axcynujmoksnhnfbrsexsnbumtof/Build/Intermediates/xxxxxx.build/Debug-
iphonesimulator/Pocket xxxxxx.build/Objects-normal/i386/
yyyyyyyyTableViewController.o" Classes/yyyyyyyyTableViewController.m
normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Projects/xxxxxxiOS
setenv LANG en_US.US-ASCII
setenv PATH "/Developer4/Platforms/iPhoneSimulator.platform/
Developer/usr/bin:/Developer4/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer4/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 -
mdynamic-no-pic -Wreturn-type -Wparentheses -Wswitch -Wno-unused-
parameter -Wunused-variable -Wunused-value -DCONFIGURATION_Debug -
isysroot /Developer4/Platforms/iPhoneSimulator.platform/Developer/SDKs/
iPhoneSimulator4.3.sdk -fexceptions -fasm-blocks -mmacosx-version-
min=10.6 -gdwarf-2 -fvisibility=hidden -fobjc-abi-version=2 -fobjc-
legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40200 "-I/Volumes/
My Eye/Library/Developer/Xcode/DerivedData/xxxxxx-
axcynujmoksnhnfbrsexsnbumtof/Build/Intermediates/xxxxxx.build/Debug-
iphonesimulator/Pocket xxxxxx.build/xxxxxx.hmap" "-I/Volumes/My Eye/
Library/Developer/Xcode/DerivedData/xxxxxx-
axcynujmoksnhnfbrsexsnbumtof/Build/Products/Debug-iphonesimulator/
include" -I/Developer4/Platforms/iPhoneSimulator.platform/Developer/
SDKs/iPhoneSimulator4.3.sdk/usr/include/libxml2 -I/Volumes/My -IEye/
Library/Developer/Xcode/DerivedData/xxxxxx-
axcynujmoksnhnfbrsexsnbumtof/Build/Products/Debug-
iphonesimulator/../../three20 -I/Volumes/My -IEye/Library/Developer/
Xcode/DerivedData/xxxxxx-axcynujmoksnhnfbrsexsnbumtof/Build/Products/
Debug-iphonesimulator/../three20 "-I/Volumes/My Eye/Library/Developer/
Xcode/DerivedData/xxxxxx-axcynujmoksnhnfbrsexsnbumtof/Build/
Intermediates/xxxxxx.build/Debug-iphonesimulator/Pocket xxxxxx.build/
DerivedSources/i386" "-I/Volumes/My Eye/Library/Developer/Xcode/
DerivedData/xxxxxx-axcynujmoksnhnfbrsexsnbumtof/Build/Intermediates/
xxxxxx.build/Debug-iphonesimulator/Pocket xxxxxx.build/DerivedSources"
"-F/Volumes/My Eye/Library/Developer/Xcode/DerivedData/xxxxxx-
axcynujmoksnhnfbrsexsnbumtof/Build/Products/Debug-iphonesimulator" -O0
-include /Projects/xxxxxxiOS/xxxxxx_Prefix.pch -c /Projects/xxxxxxiOS/
Classes/yyyyyyyyTableViewController.m -o "/Volumes/My Eye/Library/
Developer/Xcode/DerivedData/xxxxxx-axcynujmoksnhnfbrsexsnbumtof/Build/
Intermediates/xxxxxx.build/Debug-iphonesimulator/Pocket xxxxxx.build/
Objects-normal/i386/yyyyyyyyTableViewController.o"

clang: warning: argument unused during compilation: '-O0'
In file included from /Projects/xxxxxxiOS/Classes/
yyyyyyyyTableViewController.m:9:
/Projects/xxxxx/Classes/xxxxxx.h:11:9: fatal error: 'three20/
Three20.h' file not found [1]
#import <three20/Three20.h>
^
1 error generated.

AK

unread,
Mar 9, 2011, 2:21:18 PM3/9/11
to Three20
Aha, I put quotes around it. Now it works.

elpuerco

unread,
Mar 9, 2011, 2:58:34 PM3/9/11
to Three20
Being very cautious here!

I have not update my iPhone to 4.3 as I presume it will then require
XCode 4 and if so....three20 is not completely compatible yet?

I am doing a lot in a current project implementing three20 and
learning on the way so am worried if I update the iPhone to 4.3 I will
open a can of worms.....is this correct?
> > On Mar4, 3:48 am, Vincent <vgue...@gmail.com> wrote:
>
> > > Marcus solution is a good start since it doesn't use SRCROOT as a
> > > build location.
> > > This is a must have withXcode4, now defaulting Build locations into
> > > the DerivedData shared folder...
> > > And I'm afraid Archive doesn't respect custom locations (probably a
> > > beta bug)
>
> > > GM Seed 2 published yesterday fixed many issues for me, great :)
> > > I hope that workspace feature will be as advertised... Will try it
> > > too.
> > > Would be great that setting up solutions with three20 (and others)
> > > being much simpler.
> > > (g'bye ttmodule.py?)
>
> > > On Mar4, 2:55 am, John Wang <jwang...@gmail.com> wrote:
>
> > > > Yea. So far these aren't ideal quite yet. I'm working to see if we can
> > > > make use of the Workspaces in XCode4, as that seems to be Apple's
> > > > recommendation. Hopefully, that'll help out a lot.
>
> > > > On Mar 3, 6:21 am, Marcus Brito <mbr...@gmail.com> wrote:
>
> > > > > On Thu, Mar 3, 2011 at 12:45 PM, Vincent <vgue...@gmail.com> wrote:
>
> > > > > Just gave a try at Marcus configuration :
>
> > > > > I should do a  full write up on how to get Three20 to work onXcode4, but
> > > > > in short:
>
> > > > > * Edit Library.xcconfig, add SKIP_INSTALL = YES
> > > > > * Edit Paths.xcconfig, set HEADER_SEARCH_PATHS to $(STDLIB_HEADERS)
> > > > > "$(BUILT_PRODUCTS_DIR)/../three20" "$(BUILT_PRODUCTS_DIR)/../../three20"
> > > > > * Edit Protect.command, change it to look like this:http://bit.ly/dWoVaQ
> > > > > * In your project configuration, change "User Header Search Paths" to
> > > > > include $(BUILT_PRODUCTS_DIR)/../three20 and
> > > > > $(BUILT_PRODUCTS_DIR)/../../three20
>
> > > > > If your project was created inXcode4, ttmodule.py will fail to add

Christopher Anderson

unread,
Mar 9, 2011, 3:56:32 PM3/9/11
to Three20
I wanted to get three20 working as a member of an Xcode 4 workspace
rather than as sub-projects of my main project. When building
workspaces Xcode 4 does not place the build products in the build
directory of projects, but in another location shared by all the
products of all the builds in the workspace. There are two issues with
this. First, the path to the headers is no longer ../three20/Build/
Products/three20 but instead you need $(BUILT_PRODUCTS_DIR)/../three20
and if you want to be able to archive you also need $
(BUILT_PRODUCTS_DIR)/../../three20. The second is the build order.
When three20 is included as a sub project of your project we can state
clear dependencies so that three20 is build before your project is
built. Xcode 4 workspaces are supposed to infer the dependencies. This
does not always works.In our build we had a situation where project A
depended on project B and project C, and project B depended on project
C. All three projects depended on three20. We included three20 as a
Link With Libraries dependency for project A [We don't do that for
projects B and C otherwise we'll get duplicate symbols etc etc]. For
the other projects we added three20 as a target in the Build part of
the Edit Scheme screen. We also turned off Parallelize Build.

Hope this helps. The crux of the problem for us was finding the
headers that three20 places as part of the build and declaring the
dependencies so that it was built correctly before the other projects
are built.

I think that if you use the sub-project method of including three20
you will not run into these problems.

John Wang

unread,
Mar 9, 2011, 4:01:16 PM3/9/11
to Three20
iOS 4.3 does not require XCode4. There is XCode 3.2.6 available for
iOS 4.3 in the developer portal. That said, Apple has just released
XCode4 officially today and is pushing it as the main version of
XCode. XCode3 is being phased out and you do need to go to the
archived area to get it. It will still support iOS 4.3. We have a
supportable version in the development branch, but it has not yet been
released to the public.

As most of you know already, XCode4 has brought Workspaces for
interacting with other projects in your main application project.
That's the support we'll likely take that I have been working on for
Three20.

Cheers,
John
> > iphonesimulator/../../three20 -I/Volumes/My -IEye/Library/Developer/Xcode/DerivedData/xxxxxx-axcynujmoksnhnfbrsexsnbumt of/Build/Products/
> > Debug-iphonesimulator/../three20 "-I/Volumes/My Eye/Library/Developer/Xcode/DerivedData/xxxxxx-axcynujmoksnhnfbrsexsnbumtof /Build/

Vincent

unread,
Mar 9, 2011, 5:33:16 PM3/9/11
to Three20
Official version released today has the same build number as GM seed
2...
I'm afraid that it is not as stable as we should wish.

I didn't have time to "play" with workspaces since first GM.
Can't wait that you push your workspace support John.

Vincent.

Gholias

unread,
Mar 10, 2011, 12:34:04 PM3/10/11
to Three20
I did all changes suggested by Marcus and still cant build

arm-apple-darwin10-gcc-4.2.1: /Users/gholias/Library/Developer/Xcode/
DerivedData/IrishNews-gjkocuehhldovzakcveyncodkoow/
ArchiveIntermediates/IrishNews/BuildProductsPath/Release-iphoneos/
libThree20Core.a: No such file or directory
arm-apple-darwin10-gcc-4.2.1: /Users/gholias/Library/Developer/Xcode/
DerivedData/IrishNews-gjkocuehhldovzakcveyncodkoow/
ArchiveIntermediates/IrishNews/BuildProductsPath/Release-iphoneos/
libThree20Network.a: No such file or directory
arm-apple-darwin10-gcc-4.2.1: /Users/gholias/Library/Developer/Xcode/
DerivedData/IrishNews-gjkocuehhldovzakcveyncodkoow/
ArchiveIntermediates/IrishNews/BuildProductsPath/Release-iphoneos/
libThree20Style.a: No such file or directory
arm-apple-darwin10-gcc-4.2.1: /Users/gholias/Library/Developer/Xcode/
DerivedData/IrishNews-gjkocuehhldovzakcveyncodkoow/
ArchiveIntermediates/IrishNews/BuildProductsPath/Release-iphoneos/
libThree20UI.a: No such file or directory
arm-apple-darwin10-gcc-4.2.1: /Users/gholias/Library/Developer/Xcode/
DerivedData/IrishNews-gjkocuehhldovzakcveyncodkoow/
ArchiveIntermediates/IrishNews/BuildProductsPath/Release-iphoneos/
libThree20UICommon.a: No such file or directory
arm-apple-darwin10-gcc-4.2.1: /Users/gholias/Library/Developer/Xcode/
DerivedData/IrishNews-gjkocuehhldovzakcveyncodkoow/
ArchiveIntermediates/IrishNews/BuildProductsPath/Release-iphoneos/
libThree20.a: No such file or directory
arm-apple-darwin10-gcc-4.2.1: /Users/gholias/Library/Developer/Xcode/
DerivedData/IrishNews-gjkocuehhldovzakcveyncodkoow/
ArchiveIntermediates/IrishNews/BuildProductsPath/Release-iphoneos/
libThree20UINavigator.a: No such file or directory
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/
gcc-4.2 failed with exit code 1


Any idea?



On Mar 9, 5:33 pm, Vincent <vgue...@gmail.com> wrote:
> Official version released today has the same build number as GM seed
> 2...
> I'm afraid that it is not as stable as we should wish.
>
> I didn't have time to "play" with workspaces since first GM.
> Can't wait that you push your workspace support John.
>
> Vincent.
>
> On Mar 9, 10:01 pm, John Wang <jwang...@gmail.com> wrote:
>
>
>
>
>
>
>
> > iOS 4.3 does not requireXCode4. There is XCode 3.2.6 available for
> > iOS 4.3 in the developer portal. That said, Apple has just released
> >XCode4officially today and is pushing it as the main version of
> > XCode. XCode3 is being phased out and you do need to go to the
> > archived area to get it. It will still support iOS 4.3. We have a
> > supportable version in the development branch, but it has not yet been
> > released to the public.
>
> > As most of you know already,XCode4has brought Workspaces for
> > > > > > > make use of the Workspaces inXCode4, as that seems to be Apple's

Marcus Brito

unread,
Mar 10, 2011, 6:59:33 PM3/10/11
to thr...@googlegroups.com
What command is spitting these errors, if it's the linker (ld), what's in your "Other Linker Flags" build setting? If you're following my instructions, your linker flags should be only "-all_load", any "-force_load" entry should be removed.

P.S.: I haven't tried it yet, but -all_load or -force_load is supposedly not needed anymore after Three20 1.0.4. You could try replacing it with "-ObjC", and report the result back to us.

-- 
Marcus Brito
Sent with Sparrow
--
We are moving away from Google Groups as our primary community in favor of a new, custom-made Vanilla forums setup. Please start asking questions there going forward. We will continue supporting the Three20 Google Group at least until April 9th of 2011.

http://forums.three20.info/

To learn more about Three20, check out
http://Three20.info/

You received this message because you are subscribed to the Google
Groups "Three20" group.
To post to this group, send email to thr...@googlegroups.com
To unsubscribe from this group, send email to
three20+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/three20?hl=en

Jeff Verkoeyen

unread,
Mar 10, 2011, 7:09:25 PM3/10/11
to thr...@googlegroups.com
Alright gang. Thanks to everyone in this thread for helping us get Xcode 4 support working for Three20. I especially want to give props to jwang and Tony Lewis for ironing out many of the details.

I've issued a pull request here:

It should be merged into development soon. I'll send another mass email once that's done.

Cheers,
- Jeff

elpuerco

unread,
Mar 15, 2011, 10:58:38 AM3/15/11
to Three20
I have just cloned the latest three20 and installed XCode4 and am
getting a load of three20 related errors that do not appear using
XCode 3x?

The errors all spawn from:

#import <Three20/Three20.h> which reports no such file or
directory......but it is there as it works OK in 3x

AppDelegate.h:10:28: error: Three20/Three20.h: No such file or
directory

/MainPageViewController.h:15: error: cannot find interface declaration
for 'TTViewController', superclass of 'MainPageViewController'

/MainPageViewController.h:15: error: cannot find protocol declaration
for 'TTLauncherViewDelegate'

/MainPageViewController.h:15: error: cannot find protocol declaration
for 'TTNavigatorDelegate'

/MainPageViewController.h:17: error: expected specifier-qualifier-list
before 'TTLauncherView'

and the list goes on....





On Mar 11, 12:09 am, Jeff Verkoeyen <jverk...@gmail.com> wrote:
> Alright gang. Thanks to everyone in this thread for helping us get Xcode 4
> support working for Three20. I especially want to give props to jwang and
> Tony Lewis for ironing out many of the details.
>
> I've issued a pull request here:https://github.com/facebook/three20/pull/466
>
> It should be merged into development soon. I'll send another mass email once
> that's done.
>
> Cheers,
> - Jeff
>
>
>
>
>
>
>
> On Thu, Mar 10, 2011 at 6:59 PM, Marcus Brito <mbr...@gmail.com> wrote:
> >  What command is spitting these errors, if it's the linker (ld), what's in
> > your "Other Linker Flags" build setting? If you're following my
> > instructions, your linker flags should be *only* "-all_load", any
> > "-force_load" entry should be removed.
>
> > P.S.: I haven't tried it yet, but -all_load or -force_load is supposedly
> > not needed anymore after Three20 1.0.4. You could try replacing it with
> > "-ObjC", and report the result back to us.
>
> > --
> > Marcus Brito
> > Sent with Sparrow <http://www.sparrowmailapp.com>
> ...
>
> read more »

elpuerco

unread,
Mar 15, 2011, 11:03:35 AM3/15/11
to Three20
hold the phone....on the forums page and found some pointers.....
> ...
>
> read more »

elpuerco

unread,
Mar 15, 2011, 11:07:33 AM3/15/11
to Three20
DOH!!!!

http://three20.info/article/2011-03-10-Xcode4-Support

fixed :-)
> ...
>
> read more »

Jeff Verkoeyen

unread,
Mar 15, 2011, 12:37:46 PM3/15/11
to thr...@googlegroups.com
Oh, just noticed the rest of this thread; pardon the duplication :)

Cheers,
- Jeff


On Tue, Mar 15, 2011 at 12:37 PM, Jeff Verkoeyen <jver...@gmail.com> wrote:
Please read over the Xcode 4 Support article at Three20.info:
Specifically, ensure that you've added the following header search paths to all of your app's targets.

"$(BUILT_PRODUCTS_DIR)/../three20"
"$(BUILT_PRODUCTS_DIR)/../../three20"

Cheers,
- Jeff



> ...
>
> read more »

Jeff Verkoeyen

unread,
Mar 15, 2011, 12:37:13 PM3/15/11
to thr...@googlegroups.com
Please read over the Xcode 4 Support article at Three20.info:


Specifically, ensure that you've added the following header search paths to all of your app's targets.

"$(BUILT_PRODUCTS_DIR)/../three20"
"$(BUILT_PRODUCTS_DIR)/../../three20"

Cheers,
- Jeff


On Tue, Mar 15, 2011 at 11:07 AM, elpuerco <elpue...@gmail.com> wrote:
> ...
>
> read more »

jworley

unread,
Mar 17, 2011, 12:35:30 PM3/17/11
to Three20
I've changed both the .xconfig files as described and the
protect.command but I still get an error when trying to build and
archive:


Ld /Users/jasonworley/Library/Developer/Xcode/DerivedData/FieldCert-
bqybgyzeespgeegdjzzxqoiquxym/ArchiveIntermediates/FieldCert/
IntermediateBuildFilesPath/FieldCert.build/Release-iphoneos/
FieldCert.build/Objects-normal/armv6/FieldCert normal armv6
cd /Users/jasonworley/FieldCertRepo/FieldCert/Mobile/iOS/FieldCert
setenv IPHONEOS_DEPLOYMENT_TARGET 3.2
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/
bin:/Developer/usr/bin:/usr/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/jasonworley/Library/Developer/Xcode/
DerivedData/FieldCert-bqybgyzeespgeegdjzzxqoiquxym/
ArchiveIntermediates/FieldCert/BuildProductsPath/Release-iphoneos -F/
Users/jasonworley/Library/Developer/Xcode/DerivedData/FieldCert-
bqybgyzeespgeegdjzzxqoiquxym/ArchiveIntermediates/FieldCert/
BuildProductsPath/Release-iphoneos -filelist /Users/jasonworley/
Library/Developer/Xcode/DerivedData/FieldCert-
bqybgyzeespgeegdjzzxqoiquxym/ArchiveIntermediates/FieldCert/
IntermediateBuildFilesPath/FieldCert.build/Release-iphoneos/
FieldCert.build/Objects-normal/armv6/FieldCert.LinkFileList -
dead_strip -force_load ../three20/Build/Products/Release-iphoneos/
libThree20UICommon.a -force_load ../three20/Build/Products/Release-
iphoneos/libThree20UINavigator.a -force_load ../three20/Build/Products/
Release-iphoneos/libThree20Core.a -force_load ../three20/Build/
Products/Release-iphoneos/libThree20UI.a -force_load ../three20/Build/
Products/Release-iphoneos/libThree20Network.a -force_load ../three20/
Build/Products/Release-iphoneos/libThree20Style.a -miphoneos-version-
min=3.2 /Users/jasonworley/Library/Developer/Xcode/DerivedData/
FieldCert-bqybgyzeespgeegdjzzxqoiquxym/ArchiveIntermediates/FieldCert/
BuildProductsPath/Release-iphoneos/libThree20UICommon.a /Users/
jasonworley/Library/Developer/Xcode/DerivedData/FieldCert-
bqybgyzeespgeegdjzzxqoiquxym/ArchiveIntermediates/FieldCert/
BuildProductsPath/Release-iphoneos/libThree20UINavigator.a /Users/
jasonworley/Library/Developer/Xcode/DerivedData/FieldCert-
bqybgyzeespgeegdjzzxqoiquxym/ArchiveIntermediates/FieldCert/
BuildProductsPath/Release-iphoneos/libThree20Core.a /Users/jasonworley/
Library/Developer/Xcode/DerivedData/FieldCert-
bqybgyzeespgeegdjzzxqoiquxym/ArchiveIntermediates/FieldCert/
BuildProductsPath/Release-iphoneos/libThree20UI.a /Users/jasonworley/
Library/Developer/Xcode/DerivedData/FieldCert-
bqybgyzeespgeegdjzzxqoiquxym/ArchiveIntermediates/FieldCert/
BuildProductsPath/Release-iphoneos/libThree20Network.a /Users/
jasonworley/Library/Developer/Xcode/DerivedData/FieldCert-
bqybgyzeespgeegdjzzxqoiquxym/ArchiveIntermediates/FieldCert/
BuildProductsPath/Release-iphoneos/libThree20Style.a -framework
Foundation -framework UIKit -framework CoreGraphics -framework
QuartzCore -framework MapKit -framework MessageUI -o /Users/
jasonworley/Library/Developer/Xcode/DerivedData/FieldCert-
bqybgyzeespgeegdjzzxqoiquxym/ArchiveIntermediates/FieldCert/
IntermediateBuildFilesPath/FieldCert.build/Release-iphoneos/
FieldCert.build/Objects-normal/armv6/FieldCert

ld: file not found: ../three20/Build/Products/Release-iphoneos/
libThree20UICommon.a
collect2: ld returned 1 exit status

Aaron

unread,
Mar 17, 2011, 1:43:51 PM3/17/11
to Three20
So I have a project that originated in 3.x that I've been using in
XCode4. I attempted to add Three20 to it via the python script and got
this:

asarazan ~/projname/src $ python three20/src/scripts/ttmodule.py -p ~/
projname/src/swan/ios/projname.xcodeproj Three20 --xcode-version=4
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.
Couldn't find this configuration.

I also attempted to set it up via the manual method, and ALMOST got
everything working. It builds and links properly with my main build
configuration "Debug", but once I try to use any additional
configurations (e.g. Debug-DummyServer, etc), the linker pukes saying
can't find -lThree20. It doesn't appear to care about what scheme I'm
using-- just the configuration.

I've also added the additional paths recommended in the XCode4 guide.

Any thoughts? I can try to post or email whatever additional
information you need.
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages