<html><head></head><body><div class="yahoo-style-wrap" style="font-family:courier new, courier, monaco, monospace, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Guys,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I'm jumping up to the latest xcode 12.5</div><div dir="ltr" data-setdir="false">to be able to develop on iOs 14.x</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">My trusty old FPC 3.0.5 worked just fine for iOs Target.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">But the simulator is a different story...</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><br><div>Showing All Messages</div><div><br></div><div>ld: building for iOS/iOS Simulator, but linking in object file built for iOS Simulator, <br></div><div><br></div><div>file '/Users/john/Library/Developer/Xcode/DerivedData/NilnocCalc-afoipenxsapytphgpvzuywbyzbfb/Build/Intermediates.noindex/NilnocCalc.build/Debug-iphonesimulator/NilnocCalc.build/Objects-normal/x86_64/NilnocCalc.o'</div><br><div>-----</div><div><br></div><div dir="ltr" data-setdir="false">I feel like xcode is now enforcing a rule which was a warning before.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><span>I then thought about regenerating my  <span>x86_64-iphonesim <br></span></span></div><div dir="ltr" data-setdir="false"><span><span><br></span></span></div><div dir="ltr" data-setdir="false"><span><span>but then didn't really want to rewind to pre 3.0.5</span></span></div><div dir="ltr" data-setdir="false"><span><span><br></span></span></div><div dir="ltr" data-setdir="false">So, I figured I'd jump to 3.2.2</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div>cd Users/john/Desktop/Developer/FPC/3.2.2<br>sudo make distclean -j 3<br><br>export IOS_BASE=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk<br>export BIN_BASE=${IOS_BASE}/usr/bin <br>sudo make FPC=/usr/local/lib/fpc/3.0.5/ppc386 OPT="-ap" CPU_TARGET=x86_64 OS_TARGET=iphonesim CROSSOPT="-FD${BIN_BASE} -XR${IOS_BASE}" all</div><div><br></div><div><br></div></div><div dir="ltr" data-setdir="false">But.. that led to  ...<br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">.</div><div dir="ltr" data-setdir="false">.</div><div dir="ltr" data-setdir="false">.<br></div><div dir="ltr" data-setdir="false"><div>/Applications/Xcode.app/Contents/Developer/usr/bin/make -C /Users/john/Desktop/Developer/FPC/3.2.2/rtl 'OPT=-ap  ' all<br>/Applications/Xcode.app/Contents/Developer/usr/bin/make -C darwin all<br>/usr/local/lib/fpc/3.0.5/ppc386 -Ur -dFPC_USE_LIBC -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fi../bsd -Fi../bsd/x86_64 -Fi../darwin/x86_64 -FE. -FU/Users/john/Desktop/Developer/FPC/3.2.2/rtl/units/x86_64-darwin -ap -dx86_64 -dRELEASE  -Us -Sg ../bsd/system.pp<br><div><br></div><div>system.inc(154,4) Fatal: Cannot open include file "i386.inc"</div><div><br></div><div>Fatal: Compilation aborted</div>make[5]: *** [system.ppu] Error 1<br>make[4]: *** [darwin_all] Error 2<br>make[3]: *** [rtl] Error 2<br>make[2]: *** [cycle] Error 2<br>make[1]: *** [compiler_cycle] Error 2<br>make: *** [build-stamp.x86_64-iphonesim] Error 2</div><div><br></div></div><div dir="ltr" data-setdir="false"><span></span></div><div><br></div><div dir="ltr" data-setdir="false">any ideas ? <br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">thanks guys</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">john</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div>-------------------<br></div><div><br></div><div dir="ltr" data-setdir="false">Note: This is on an Intel Mac</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">full dump on 3.0.5 targeting Sim :</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div>/Users/john/Desktop/Project/NilnocCalc</div><div><br></div><div>...Compiling for SIM (x64)</div><div><br></div>/usr/local/lib/fpc/3.0.5/ppcx64 -Mdelphi -XX -djciOS -k-ios_simulator_version_min -k9.3 -Fu/Users/john/Desktop/Project/NilnocCalc/src -Fu/Users/john/Desktop/Project/NilnocCalc/src/* -Fu/Users/john/Desktop/Project/NilnocCalc/../Common/* -Fu/Users/john/Desktop/Project/NilnocCalc/../Common/iOs/* -Fu/Users/john/Desktop/Project/NilnocCalc/../Common/wolf/iOs/ -XR/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -Fu/Users/john/Desktop/Project/NilnocCalc/../Common/wolf/iOs/Debug-iphonesimulator -CiroR -gltw -Sa -Xg -Fu~/Desktop/Developer/FPC/iOS10.3/x86_64-iphonesim -Tiphonesim -FU/Users/john/Library/Developer/Xcode/DerivedData/NilnocCalc-afoipenxsapytphgpvzuywbyzbfb/Build/Intermediates.noindex/NilnocCalc.build/Debug-iphonesimulator/NilnocCalc.build/Objects-normal/x86_64 -o/Users/john/Library/Developer/Xcode/DerivedData/NilnocCalc-afoipenxsapytphgpvzuywbyzbfb/Build/Intermediates.noindex/NilnocCalc.build/Debug-iphonesimulator/NilnocCalc.build/Objects-normal/x86_64/NilnocCalc /Users/john/Desktop/Project/NilnocCalc/NilnocCalc/NilnocCalc.pas<br><div><br></div><div>Free Pascal Compiler version 3.0.5 [2017/11/26] for x86_64</div>Copyright (c) 1993-2015 by Florian Klaempfl and others<br>Target OS: Darwin/iPhoneSim for x86_64<br>Compiling /Users/john/Desktop/Project/NilnocCalc/NilnocCalc/NilnocCalc.pas<br>Assembling (pipe) /Users/john/Library/Developer/Xcode/DerivedData/NilnocCalc-afoipenxsapytphgpvzuywbyzbfb/Build/Intermediates.noindex/NilnocCalc.build/Debug-iphonesimulator/NilnocCalc.build/Objects-normal/x86_64/NilnocCalc.s<br><div><br></div><div>Linking /Users/john/Library/Developer/Xcode/DerivedData/NilnocCalc-afoipenxsapytphgpvzuywbyzbfb/Build/Intermediates.noindex/NilnocCalc.build/Debug-iphonesimulator/NilnocCalc.build/Objects-normal/x86_64/NilnocCalc</div><div><br></div><div>ld: building for iOS/iOS Simulator, but linking in object file built for iOS Simulator, file '/Users/john/Library/Developer/Xcode/DerivedData/NilnocCalc-afoipenxsapytphgpvzuywbyzbfb/Build/Intermediates.noindex/NilnocCalc.build/Debug-iphonesimulator/NilnocCalc.build/Objects-normal/x86_64/NilnocCalc.o'</div><div><br></div><div>An error occurred while linking </div>NilnocCalc.pas(24,2) Error: Error while linking<br>NilnocCalc.pas(24,2) Fatal: There were 1 errors compiling module, stopping<br>Fatal: Compilation aborted<br><br></div><div><br></div><div><br></div></div></div></div></body></html>