Forum > iPhone/iPad

Questions about making iOS library.....

<< < (3/3)

Phil:

--- Quote from: chenyuchih on July 11, 2018, 04:56:35 pm ---Hi all,

--- End quote ---

See example script above from a couple years ago.

chenyuchih:

--- Quote from: Phil on July 11, 2018, 06:04:36 pm ---
--- Quote from: chenyuchih on July 11, 2018, 04:56:35 pm ---Hi all,

--- End quote ---

See example script above from a couple years ago.



--- End quote ---

Yes, I ran the script you showed (of course, the file path was changed to mine) and get similar result. The compiler went smoothly but still failed to link. This time I got the error message is

"ld: symbol dyld_stub_binding_helper not found, normally in crt1.o/dylib1.o/bundle1.o for architecture armv7"
"An error occurred while linking"

then just stopping. Is there version problem in crt1.o/dylib1.o/bundle1.o? How do I got correct one?

--
Edit:

Ok, after several tests I found that only armv7 has build problem as above. The iphonesim32/64 and a64 works! Thank you Phil.

So the left questions are:
1. How to successfully build the armv7 dylib?
2. Why Lazarus doesn't run correct script as Phil's one?
--

Thanks,
ChenYuChih

Navigation

[0] Message Index

[*] Previous page

Go to full version