Open rzil opened 6 years ago
I should probably lock down the dependencies for the cabal script. I'll take a look at his later today, to see if I can fix it!
What version of cabal are you using? Can you run ./call x86_64-apple-ios-cabal --version
?
Also, no idea if it helps, since the libraries look more of less the same, but you can try and drop a cabal.project.freeze
with the following, into the project,
constraints: any.base ==4.11.0.0,
any.ghc-prim ==0.5.2.0,
any.integer-simple ==0.1.1.1,
any.rts ==1.0
Can you run ./call x86_64-apple-ios-cabal --version?
cabal-install version 2.3.0.0 compiled using version 2.3.0.0 of the Cabal library Also, no idea if it helps, since the libraries look more of less the same, but you can try and drop a cabal.project.freeze with the following, into the project,
Does not seem to make any difference.
Ruben
On 8 May 2018, at 5:22 pm, Christian Kjær notifications@github.com wrote:
What version of cabal are you using? Can you run ./call x86_64-apple-ios-cabal --version?
Also, no idea if it helps, since the libraries look more of less the same, but you can try and drop a cabal.project.freeze with the following, into the project,
constraints: any.base ==4.11.0.0, any.ghc-prim ==0.5.2.0, any.integer-simple ==0.1.1.1, any.rts ==1.0 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Tehnix/MobileHaskellFun/issues/4#issuecomment-387440624, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_Ly80SypdyRIjO402lZgTHBzFyBOc1ks5twbhIgaJpZM4TrRFV.
Hmm 🤔
Shooting a bit in the dark here, are you on macOS and do you already ahve Xcode installed?
For reference, my own output was,
λ/w MobileHaskellFun/hs-src ‹master› ./call make iOS
CABAL=x86_64-apple-ios-cabal make cabal-build
x86_64-apple-ios-cabal new-configure --disable-shared --enable-static --allow-newer --ghc-option=-fllvmng
'cabal.project.local' file already exists. Now overwriting it.
Resolving dependencies...
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following would be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run)
x86_64-apple-ios-cabal new-build --allow-newer --ghc-option=-fllvmng
Resolving dependencies...
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following will be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run)
Configuring library for MobileFun-0.1.0.0..
Preprocessing library for MobileFun-0.1.0.0..
Building library for MobileFun-0.1.0.0..
[1 of 1] Compiling Lib ( src/Lib.hs, /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/Lib.o )
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Win32Utils.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(consUtils.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(longlong.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Disassembler.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(LdvProfile.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(OldARMAtomic.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(ProfilerReport.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(ProfilerReportJson.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Profiling.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RetainerProfile.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RetainerSet.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RtsDllMain.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Trace.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(EventLog.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Elf.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(PEi386.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_got.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt_aarch64.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt_arm.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_reloc.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_reloc_aarch64.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_util.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Sanity.o) has no symbols
CABAL=aarch64-apple-ios-cabal make cabal-build
aarch64-apple-ios-cabal new-configure --disable-shared --enable-static --allow-newer --ghc-option=-fllvmng
'cabal.project.local' file already exists. Now overwriting it.
Resolving dependencies...
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following would be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run)
aarch64-apple-ios-cabal new-build --allow-newer --ghc-option=-fllvmng
Build profile: -w ghc-8.4.0.20180109 -O1
In order, the following will be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run)
Configuring library for MobileFun-0.1.0.0..
Preprocessing library for MobileFun-0.1.0.0..
Building library for MobileFun-0.1.0.0..
[1 of 1] Compiling Lib ( src/Lib.hs, /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/aarch64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/Lib.o )
mkdir -p binaries/iOS
find . -path "*-ios*" -name "libHSMobileFun*ghc*.a" -exec lipo -create -output binaries/iOS/libHSMobileFun.a {} +
On 8 May 2018, at 5:35 pm, Christian Kjær notifications@github.com wrote:
Hmm 🤔
Shooting a bit in the dark here, are you on macOS and do you already ahve Xcode installed?
Yes. macOS 10.13.4 and Xcode 9.3.
Ruben
For reference, my own output was,
λ/w MobileHaskellFun/hs-src ‹master› ./call make iOS CABAL=x86_64-apple-ios-cabal make cabal-build x86_64-apple-ios-cabal new-configure --disable-shared --enable-static --allow-newer --ghc-option=-fllvmng 'cabal.project.local' file already exists. Now overwriting it. Resolving dependencies... Build profile: -w ghc-8.4.0.20180109 -O1 In order, the following would be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run) x86_64-apple-ios-cabal new-build --allow-newer --ghc-option=-fllvmng Resolving dependencies... Build profile: -w ghc-8.4.0.20180109 -O1 In order, the following will be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run) Configuring library for MobileFun-0.1.0.0.. Preprocessing library for MobileFun-0.1.0.0.. Building library for MobileFun-0.1.0.0.. [1 of 1] Compiling Lib ( src/Lib.hs, /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/Lib.o ) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Win32Utils.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(consUtils.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(longlong.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Disassembler.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(LdvProfile.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(OldARMAtomic.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(ProfilerReport.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(ProfilerReportJson.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Profiling.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RetainerProfile.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RetainerSet.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(RtsDllMain.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Trace.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(EventLog.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Elf.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(PEi386.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_got.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt_aarch64.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_plt_arm.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_reloc.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_reloc_aarch64.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(elf_util.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/x86_64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/libHSMobileFun-0.1.0.0-inplace-ghc8.4.0.20180109.a(Sanity.o) has no symbols CABAL=aarch64-apple-ios-cabal make cabal-build aarch64-apple-ios-cabal new-configure --disable-shared --enable-static --allow-newer --ghc-option=-fllvmng 'cabal.project.local' file already exists. Now overwriting it. Resolving dependencies... Build profile: -w ghc-8.4.0.20180109 -O1 In order, the following would be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run) aarch64-apple-ios-cabal new-build --allow-newer --ghc-option=-fllvmng Build profile: -w ghc-8.4.0.20180109 -O1 In order, the following will be built (use -v for more details):
- MobileFun-0.1.0.0 (lib) (first run) Configuring library for MobileFun-0.1.0.0.. Preprocessing library for MobileFun-0.1.0.0.. Building library for MobileFun-0.1.0.0.. [1 of 1] Compiling Lib ( src/Lib.hs, /Users/christiankjaerlaustsen/GitHub/Tehnix/MobileHaskellFun/hs-src/dist-newstyle/build/aarch64-ios/ghc-8.4.0.20180109/MobileFun-0.1.0.0/build/Lib.o ) mkdir -p binaries/iOS find . -path "-ios" -name "libHSMobileFunghc.a" -exec lipo -create -output binaries/iOS/libHSMobileFun.a {} + — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Tehnix/MobileHaskellFun/issues/4#issuecomment-387445120, or mute the thread https://github.com/notifications/unsubscribe-auth/AA_LyyugQQ45fdocrK6pp-XVrOrCjTq0ks5twbtEgaJpZM4TrRFV.
I followed all instructions here. See transcript below.