Skip to content
This repository has been archived by the owner on Aug 9, 2019. It is now read-only.

AIR support 64 bit code #59

Open
freddymx opened this issue Dec 16, 2014 · 27 comments
Open

AIR support 64 bit code #59

freddymx opened this issue Dec 16, 2014 · 27 comments

Comments

@freddymx
Copy link

the extension needs to be compiled now for both arm7 and arm64 to be Universal.

@Astraport
Copy link

+1 Plz, build it.

@rpurushotma
Copy link

+1, this extension would need to be recompiled with the sdk at http://labs.adobe.com/downloads/air.html before it could be used

@jalsed
Copy link

jalsed commented Jan 16, 2015

+1, Need it urgently too. Please!

@leossmith
Copy link

+1 it would be awesome

@jvMOONDA
Copy link

+1 ! We also need it urgently for a commercial application.

@shivanno
Copy link

Please...i don't want buy a Macbook Pro to make this happen XD

@Nestordu
Copy link

Nestordu commented Feb 9, 2015

+1

@kheftel-old
Copy link

Hi, I have an intel mac so I decided to try and compile it for 64-bit.

I had to set the target iOS verison to 6.0 to support 64-bit.

However, I wasn't able to figure it out. Here is some of the error output, if anyone is able to help:

The biggest culprit appears to be this line:

No architectures to compile for (ARCHS=i386 x86_64 armv7s, VALID_ARCHS=arm64

Here's some more debug output:

     [exec] ########### TESTS #############
     [exec] Use the following variables when debugging this script; note that they may change on recursions
     [exec] BUILD_DIR = /Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/IOS/NativeDialogs/build
     [exec] BUILD_ROOT = /Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/IOS/NativeDialogs/build
     [exec] CONFIGURATION_BUILD_DIR = /Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/IOS/NativeDialogs/build/Release-iphoneos
     [exec] BUILT_PRODUCTS_DIR = /Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/IOS/NativeDialogs/build/Release-iphoneos
     [exec] CONFIGURATION_TEMP_DIR = /Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/IOS/NativeDialogs/build/Release-iphoneos
     [exec] TARGET_BUILD_DIR = /Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/IOS/NativeDialogs/build/Release-iphoneos
     [exec] XCode has selected SDK: iphoneos with version: 8.1 (although back-targetting: 6.0)
     [exec] ...therefore, OTHER_SDK_TO_BUILD = iphonesimulator8.1
     [exec] xcodebuild -project "/Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/IOS/NativeDialogs/NativeDialogs.xcodeproj" -configuration "Release" -target "NativeDialogs" -sdk "iphonesimulator8.1" build RUN_CLANG_STATIC_ANALYZER=NO BUILD_DIR="/Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/IOS/NativeDialogs/build" BUILD_ROOT="/Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/IOS/NativeDialogs/build" CALLED_FROM_MASTER=1
     [exec] Build settings from command line:
     [exec]     BUILD_DIR = /Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/IOS/NativeDialogs/build
     [exec]     BUILD_ROOT = /Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/IOS/NativeDialogs/build
     [exec]     CALLED_FROM_MASTER = 1
     [exec]     RUN_CLANG_STATIC_ANALYZER = NO
     [exec]     SDKROOT = iphonesimulator8.1
     [exec] 
     [exec] === BUILD TARGET NativeDialogs OF PROJECT NativeDialogs WITH CONFIGURATION Release ===
     [exec] 
     [exec] Check dependencies
     [exec] No architectures to compile for (ARCHS=i386 x86_64 armv7s, VALID_ARCHS=arm64 armv7).
     [exec] 
     [exec] ** BUILD FAILED **
     [exec] 
     [exec] 
     [exec] The following build commands failed:
     [exec]     Check dependencies
     [exec] (1 failure)
     [exec] Command /bin/sh failed with exit code 65
     [exec] 
     [exec] ** BUILD FAILED **
     [exec] 
     [exec] 
     [exec] The following build commands failed:
     [exec]     PhaseScriptExecution Run\ Script build/Release-iphoneos/NativeDialogs.build/Script-9A0396F316BD905700445AD1.sh
     [exec] (1 failure)

BUILD FAILED
/Users/kawika/Documents/Adobe Flash Builder 4.7/devlib/ane/NativeDialogs-master/build.xml:27: exec returned: 65

@leossmith
Copy link

well i actually did run the build without this error. however i get an error that the xproj does not exist and the build fails. If i can get around this, we will have a compile!

@leossmith
Copy link

just tried this one https://github.com/plepers/NativeDialogs/tree/CC3D and it compiled ok. i am testing right now. it looks ok on android with air 16

@mattmurton
Copy link

I've issued a pull request with this fixed. #61 . Let me know if anyone has any issued with it.

@PierBover
Copy link

Thanks @mattmurton !

It worked perfectly for me

@leossmith
Copy link

👍 works great

@colouredFunk
Copy link

Does anyone know if this has been resolved?

@grabowski-robert
Copy link

@mattmurton It's not working for me. The dialogs don't show up. Test on iPad iOS 8.2, 8.3, AIR SDK 16, 17.

@leossmith
Copy link

same problem. stopped working on 8.3 and air 17 and 18

@leossmith
Copy link

@mattmurton can you recompile with the latest sdk to see if that solves the problem?

@Lydecker
Copy link

Agreed, mattmurton's recompile unfortunatly does not work with air 17, air 16. It's an adobe SDK thing (have it working on iOS8.3 and air 15) - since from air 16 onwards they needed the 64 shizzle. (You can still compile for 8.3 on air 15 if you're not distributing through the app store but doing ad hoc - and in that case it still works).

Would be nice to see an air 16/17/18 working version... cheers

@JanFW
Copy link

JanFW commented May 28, 2015

Any clues what may cause this issue or how Adobe could fix it? This is surely one of the best ANE's I've come across and it would be pretty sad if it wouldn't be available in the future any longer

@mattmurton
Copy link

Hi all,
I've just compiled everything again making sure to use the 64 bit architecture for the ios build and well as targeting AIR 16 for all actionscript and the ANE compilation. Hopefully that will be enough to get it working again.
I haven’t/can’t test it right now so if someone could let me know if its looking good that would be great.
New files are on my forked branch https://github.com/mattmurton/NativeDialogs.

@JanFW
Copy link

JanFW commented May 28, 2015

I tested your new ANE with the latest AIR build (v18.0) on iPad Air 2 with iOS 8.3 but the Dialogs do not show up. I tried to show a dialog using "NativeAlertDialog.showAlert(...". However, I do see a trace appearing stating "Disposing on dispose()". Funny thing is that it automatically calls the callback function with the value of the first button (event.index = 0). E.g. a YES/NO prompt will automatically trigger "Yes"

@kingnare
Copy link

Not working on ipad 4 or ipad air
ios8 + adobe air 18

@jjanusch
Copy link

@mattmurton To get yours to compile, I had to compile with -swf-version=27, in case anyone has similar issues

I'm using:
iOS 8.2
iPad 3
AIR 18
Flex 13

@vorlovsky
Copy link

@mattmurton It compiles and runs well on iOS for me exept for the date picker - it claims it shows, but it's not visible.(

@drunkcat
Copy link

anyone got it working? @JanFW I have the same issue, were you able to solve this problem?

@JanFW
Copy link

JanFW commented Feb 4, 2016

@drunkcat: Sorry, it seems as if the project has become deprecated.

@esdebon
Copy link

esdebon commented Feb 8, 2016

Here my version compiled to 64 bits https://github.com/esdebon/NativeDialogs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests