oksunp / vvopensource

Automatically exported from code.google.com/p/vvopensource
0 stars 0 forks source link

cannot build VVOSC with iOS 4.2 SDK #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When trying to build the "Build/Install VVOSC iPhone SDK" target on Xcode 3.25 
and iOS SDK 4.2 following your instructions i get the following error: 

Check dependencies
[BEROR]error: There is no SDK with the name or path 'iphoneos3.2'

is there a flag to set somewhere?
setting the Base SDK to iOS 4 in project settings doesn't help. 

Original issue reported on code.google.com by jakob.pe...@gmail.com on 21 Oct 2010 at 7:14

GoogleCodeExporter commented 8 years ago
you need to change the dependencies for the relevant targets so they link 
against the SDK you want to use.  the project settings don't reference a base 
iOS SDK at all, so i'm not sure what change you're talking about in your above 
post.

i don't know if there are any issues or not compiling against the 4.0 framework.

Original comment by raycut...@gmail.com on 22 Oct 2010 at 7:53

GoogleCodeExporter commented 8 years ago
please re-open this issue if you're still having problems- otherwise, based on 
the nature of this question and the lack of response, i'm going to assume that 
you figured out what was going on.

Original comment by raycut...@gmail.com on 28 Oct 2010 at 11:16

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Using XCode 3.2.5 with iOS SDK 4.2.  Code obtained via svn as instructed in 
`Source` section of this web site. 

I am having the same problem.  I've sort of summarised into three things (the 
problem is still not resolved for me).

1. Setting the Base SDK and deployment for individual targets.  To fix the 
initial problem of Base SDK missing, I set the individual targets like 
`VVOSC-iPhone sim SDK` to use `Latest iOS` and Target Device Family to 
`iPhone/iPad` (I wanted to run this on iPad as well).

NB: The Base SDK no longer shows explicit differentiation between simulator and 
device; which causes problems with the script.  See Point 2 below.

Close project in XCode and relaunch.  According to http://aralbalkan.com/3666, 
this needs to happen.

2. Build the individual targets.  I get error from script saying files not 
found.  The issue here is that there is no longer explicit separation of 
simulator and device build; all build seems to be lumped under 
build/Debug-iphoneos.

So I edited `assembleIPhoneSimSDK.sh` to just temporary copy files from 
`build/Debug-iphoneos` to various SDK build directories.

3. Write a test app; just instantiates a new `OSCMessage`.  Followed 
instruction on home page of this project to add additional SDK path and linker 
flags.  Build failed here with error saying the shared libraries don't have 
i386 architecture.

I assume I need i386 architecture set for building of library for simulator.  
Then how do I separate between the two since now the build are all merged into 
`buid/Debug-iphoneos`.  Also I don't have the means of verify the architecture 
of the build libraries.

Requesting build instructions for iOS SDK 4.2 with XCode 3.2.5; or new XCode 
project file in svn.

Original comment by anotherd...@gmail.com on 2 Dec 2010 at 1:00

GoogleCodeExporter commented 8 years ago
as i said in my response to the last post, all you need to do is change the 
dependencies for the relevant targets so they link against the SDK you want to 
use.  the different targets are different static libs which need to compile 
against different SDKs; it sounds like the changes you made are the source of 
your problems.

Original comment by raycut...@gmail.com on 2 Dec 2010 at 6:07

GoogleCodeExporter commented 8 years ago
I got a successful build after modifing the build settings for the `VVOSC - 
iPhone dev SDK` and `VVBasics - iPhone dev SDK` only; left the `sim` ones as it 
is.

The changes are to set `Latest iOS` for Base SDK and Target Device Family to 
`iPhone/iPad`

Original comment by anotherd...@gmail.com on 2 Dec 2010 at 11:16

GoogleCodeExporter commented 8 years ago
Hi, I followed anotherdevalias's instructions to modify the build settings in 
order to compile under SDK 4.2 but now I get :

No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=i386, 
VALID_ARCHS=armv6 armv7).

I am new to Xcode and I don't know how to change the settings to build for arm.

Original comment by edwardco...@gmail.com on 5 Mar 2011 at 2:30

GoogleCodeExporter commented 8 years ago
"Hi, I followed anotherdevalias's instructions to modify the build settings in 
order to compile under SDK 4.2 but now I get :"

1)- the "build instructions" anotherdevalias posted are wrong and you shouldn't 
be following them- i already explained why they were wrong and what the 
necessary change was.  the same person opened another "issue" for the same 
problem, which i also closed off as this obviously isn't a bug:

http://code.google.com/p/vvopensource/issues/detail?id=10&can=1

2)- this project compiles against 4.2, and has for a while- when was the last 
time you updated the copy of this project you checked out?

Original comment by raycut...@gmail.com on 5 Mar 2011 at 8:22

GoogleCodeExporter commented 8 years ago
Thanks for you're reply, I managed to get it working eventually, I didn't 
change all the build configurations to compile against the latest iOS version 
that's why I was getting an error.

Original comment by edwardco...@gmail.com on 5 Mar 2011 at 8:29

GoogleCodeExporter commented 8 years ago
there's nothing "to get working".  the project compiles against the 4.2 SDK by 
default and you don't have to change anything: if it doesn't, you probably 
aren't using the current version of this project.

Original comment by raycut...@gmail.com on 5 Mar 2011 at 9:30