Lazarus
Programming => Operating Systems => iPhone/iPad => Topic started by: simonsayz on September 20, 2015, 01:57:16 pm
-
Test on [FPC 3.1.1 , OS X 10.10.5 , iOS 9.0 , XCode 7.0]
Basic Tutorial for Clean Installation
Ref. http://blog.naver.com/simonsayz/220485321971
Tested : iOS 9.0,9.1, XCode 6.4, 7.0, 7.1, OS X 10.10.5, 10.11.1
Simulator / Devices - iPhone 5 (32bit) , iPad Air2 (64bit)
Warning : Building FPC on XCode 6.4 (and update XCode 7.0 or 7.1)
Always Thanks.
Simon,Choi
-
When I compile my project to iOS (ARM) with Xcode 7.0 and official release of FPC 3.0.1, I get the exactly same type of errors as in the above blog post.
error: instruction 'fcmpe' can not set flags, but 's' suffix specified
fcmpes s0,s2
Compilation gets no errors for ARM64, iPhoneSim and iPhoneSimX64 architectures. Is there any solution to silence that error, other then (possibly) downgrading to Xcode 6? Thanks!
-
Hello, johnya
This issue is under discussion.
Please Ref.
Free Pascal Mailing List - MacPascal
-
Now It works. ( svn r31875 ~ )
Thanks to Jonas Maebe.
Ref. http://blog.naver.com/simonsayz/220485321971
-
Hi -
Has anyone managed to get FPC working with iOS 9.2? I'm trying but am unable to compile the generated iPhoneAll.pas. I get the following error:
Free Pascal Compiler version 3.1.1 [2016/01/25] for arm
Copyright (c) 1993-2015 by Florian Klaempfl and others
Target OS: Darwin for ARM
Compiling iPhoneAll.pas
Compiling DefinedClassesCoreFoundation.pas
Assembling (pipe) DefinedClassesCoreFoundation.s
Compiling DefinedClassesSecurity.pas
Assembling (pipe) DefinedClassesSecurity.s
Compiling DefinedClassesFoundation.pas
DefinedClassesFoundation.pas(193,25) Fatal: Syntax error, ">" expected but "=" found
regards
Simon
-
works perfectly fine.
You probably want to give more information, such as - where did you get the headers from.
-
Some additional info:
Mac OS X : 10.11.3
Xcode : Version 7.2 (7C68)
iPhoneOS : 9.2
Has this combination worked for anyone?
I have been following the instructions given by simonsayz : http://blog.naver.com/simonsayz/220485321971
regards
Simon
-
I generated the headers. Does anyone have headers which work for iOS 9.2 or greater?
Simon