Skip to main content
Participant
May 17, 2012
Question

-platformsdk for windows

  • May 17, 2012
  • 1 reply
  • 2031 views

I've read that in air 3.3 you can now use -platformsdk on windows. anyone know the exact steps to do this? it says on the pdf that you must replace symbolic links with actual files on windows. what does this mean?

This topic has been closed for replies.

1 reply

May 18, 2012

1) Zip the iOS SDK iPhoneOSx.y.sdk present on your Mac machine.

2) Copy the zipped file to a Windows machine.

3) Unzip it.

4) At the end of the ADT commandline, add -platformsdk <path the folder extracted in step 3>

In cases where the SDK is not properly copied, symbolic links may dissapear, which may require replacing them manually, else packaging would fail.

To avoid that, I recommend using zip and unzip rather than directly copying the SDK folder from Mac to Win.

Participant
May 19, 2012

I tried this process, I zipped the platformsdk folder, still no luck it gives me this message :

ld: warning: -ios_version_min not specificed, assuming 4.0
ld: warning: ignoring file C:\\iPhoneOS5.1.sdk/usr/lib/libstdc++.6.dylib, file w
as built for unsupported file format which is not the architecture being linked
(armv7)
ld: in C:\\iPhoneOS5.1.sdk/usr/lib/libz.dylib, file too small for architecture a
rmv7
Compilation failed while executing : ld64

I can't figure out how to replace them manually with the correct architecture.

Thanks for helping.

May 22, 2012

Are you using Native Extensions and specifying a linker option to compile for some other architecture besides armv7?