Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for 64-bit #31

Open
etruta opened this issue Jan 19, 2015 · 23 comments
Open

Support for 64-bit #31

etruta opened this issue Jan 19, 2015 · 23 comments

Comments

@etruta
Copy link

etruta commented Jan 19, 2015

Starting February 1st 2015 Apple will require that all App Store submissions be compiled using the iOS 8 SDK, and support 64-bit architectures.

http://www.appcelerator.com/blog/2014/11/alpha-version-of-titanium-sdk-64-bit-support-now-available/

@sergiot
Copy link

sergiot commented Jan 21, 2015

Tried to compile from source but a 64bit project still can't see it as a valid module.

@etruta
Copy link
Author

etruta commented Jan 22, 2015

Probably because you using the old version of Parse.framework.

https://parse.com/questions/when-is-the-64bit-ios-version-coming-out

@almsx
Copy link

almsx commented Jan 29, 2015

greetings:

I copied the latest version of the module Parse.framework h followed the steps to compile the module for 64-bit without success.

Also I changed the parameters in the xcodeproject file on standard architectures throwing this from terminal:

CompileC build / parsemodule.build / Release-iphoneos / parsemodule.build / / Objects ARMv7-Normal / Normal ParseSingleton.m ParseSingleton.o ARMv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileCbuild/parsemodule.build/Release-iphoneos/parsemodule.build/Objects-normal/armv7/ComElijahwindsorParsemoduleModule.o Normal Classes / ComElijahwindsorParsemoduleModule.m ARMv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileCbuild/parsemodule.build/Release-iphoneos/parsemodule.build/Objects-normal/arm64/ComElijahwindsorParsemoduleModule.o Normal Classes / ComElijahwindsorParsemoduleModule.m arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
CompileC build / parsemodule.build / Release-iphoneos / parsemodule.build / / Objects arm64-Normal / Normal ParseSingleton.m ParseSingleton.o arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(4 failures)
xcodebuild failed

@sergiot
Copy link

sergiot commented Feb 19, 2015

@etruta, seems you have probably compiled this successfully for x64? Would you mind sharing the binaries?

@boarnoah
Copy link

I think i managed to compile this to 64 bit, ti-64 and xcrun lipo see it as a valid 64 bit architecture but my (3.5 GA) titanium project can't build with this in place (everyother module went to 64 bit without problems).
Uploading it in the hopes that it may work on someone elses project, hope it helps.
Heres the link:
Please note this is from a forked repo for this found here: https://github.com/raymondkam/ios-parse-titanium-module
Hopefully the additions in it won't affect your purposes but fair warning.
https://www.mediafire.com/?k5j7ygmvu0sfcxu

EDIT:
In case you wish to build it yourself, I managed to follow the instructions on the readme to setup filepath and titanium sdk version (to 3.4 not 3.5), then through Xcode I changed architecture to the 64 bit support and changed SDK from 5 to 6.1 then I managed to get a sucessful build out of both xcode and the build.py file.

@boarnoah
Copy link

@sergiot Did you have any progress with implementing 64 bit on the module. I have got access to a copy of the module (with 64 bit support) that is known to be working, can you see if this works on your project?
https://www.mediafire.com/?gevvrfa5ixd94gh

@roysinclair
Copy link

@adipa i can confirm it's not working for me

@sergiot
Copy link

sergiot commented Apr 8, 2015

@adipa, no. I can't believe Titanium never did anything to get some official support or implemented something on their own.

I have gone full Native. This is absolutely ridiculous.

@jfencil
Copy link

jfencil commented May 12, 2015

This module does not work for 64 bit. When will this be updated? Yes we can rebuild the module for 64 bit and change for 64 bit architectures, but this does not effect the com.elijahwindsor.parsemodule-iphone-1.0.zip file at all! Please help asap!

@boarnoah
Copy link

@jfencil Issue is that even though we can build the module for 64 bit with Xcode the parse.framework doesn't support 64 bit. The version that DOES support 64 bit has a bunch of breaking changes(including the pfacebook stuff been removed) so its going to require updating a lot of the source from the parsemodule code to get it to work properly with 64 bit.

EDIT: Here is the page talking about the changes required: http://blog.parse.com/learn/engineering/facebooks-latest-ios-sdk-update-and-what-it-means-for-you/

@jfencil
Copy link

jfencil commented May 15, 2015

Thank you for your response @adipa and I apologize for the delayed response, but unfortunately the link that you provided is a blank page on the parse site.

This is a very URGENT issue that needs to be fixed ASAP

EDIT: These are some helpful links that I was able to find:

https://parse.com/questions/sdk-upgrade-on-ios
https://parse.com/questions/what-is-the-best-way-to-update-the-parse-sdk-in-my-ios-app

FROM THE LINKS ABOVE:

"I usually navigate to the project using the Finder, and delete the Parse.framework folder. Then extract the new SDK into the same folder, launch Xcode and perform a Clean, followed by Build."

THE ABOVE DOES NOT WORK FOR ME, I am presented with 19 errors, due to the pfacebook stuff being removed as you had said previously.

If anyone has any hints to a successful way to include the newest parse framework (1.7.1) for the elijahwinsor.parsemodule I would really appreciate it! Thank you!

@boarnoah
Copy link

Believe me there was a page there with instructions on what lines need updating to support the new facebook sdk stuff, really strange that it disappeared off to somewhere, I asked about it on stackoverflow just now, hope someone replies on that(http://stackoverflow.com/questions/30264415/updating-parse-for-64-bit-compatiblity).

Anyway as you found out there is a bunch of errors that pop up I attempted to fix it while following the instructions on the blog page but didn't get too far with it.

@jfencil
Copy link

jfencil commented May 15, 2015

Thank you very much once again @adipa. Maybe we can work together to figure this thing out.

@boarnoah
Copy link

Kind of dont have my development enivornment right now (used this module at my previous workplace), they still havent reenabled parse for the 64 bit update yet will try to keep you informed on any progress they have with it in case that helps.

@jfencil
Copy link

jfencil commented May 15, 2015

I also keep you informed if I come up with a solution. Really appreciate your help @adipa!

@nicpeck
Copy link

nicpeck commented May 26, 2015

Thanks for looking into this! Any progress yet?

@E2010
Copy link

E2010 commented May 29, 2015

I have created a 64-bit module, but only functions regarding Objects and Push Notifications implemented. If these are the functions you need, goto https://github.com/E2010/ios64-parse-titanium to get it.

@jfencil
Copy link

jfencil commented Jun 2, 2015

Was anyone able to implement the module above by E2010 above? ^

@E2010
Copy link

E2010 commented Jun 3, 2015

@jfencil We already has one project using this module submit to App Store successfully (with 64bit support). Any problem when you try it?

@jfencil
Copy link

jfencil commented Jun 7, 2015

Yes, I am not quite able to get it to work at the moment. @adipa any comments?

@kevinambruster
Copy link

I managed to get this to build by changing this line in titanium.xconfig

//TITANIUM_SDK = /Library/Application Support/Titanium/mobilesdk/osx/3.5.1.GA
TITANIUM_SDK = ~/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION)

from this post. https://developer.appcelerator.com/question/136061/cannot-create-an-iphone-module-since-upgrading-to-studio-20-og-sdk-201ga2

@krmannix
Copy link

@kevinambruster Awesome, thanks for that - that fixed my problem as well.

E2010 pushed a commit to E2010/ios64-parse-titanium that referenced this issue Jun 17, 2015
@jfencil
Copy link

jfencil commented Jun 22, 2015

@kevinambruster The default code in the elijah module is as follows:

TITANIUM_SDK = ~/Library/Application Support/Titanium/mobilesdk/osx/$(TITANIUM_SDK_VERSION)

Therefore, it would not make sense to change that line of code...? Any suggestions?

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

No branches or pull requests

10 participants