Icomoon.swift icon indicating copy to clipboard operation
Icomoon.swift copied to clipboard

XCode 12, swift 5.3 won't build

Open TomerAvni opened this issue 5 years ago • 5 comments
trafficstars

fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /tmp/icomoon-build/iphonesimulator/Icomoon.framework/Icomoon and /tmp/icomoon-build/iphoneos/Icomoon.framework/Icomoon have the same architectures (arm64) and can't be in the same fat output file

TomerAvni avatar Sep 18 '20 12:09 TomerAvni

@TomerAvni

Created PR, Please checkout my branch and test.

git checkout https://github.com/nitrag/Icomoon.swift.git
make install
cd ~/Downloads/
icomoon-swift icomoon.zip

Then drag/drop into xcode (remove old framework first).

PR Pending your test #16

nitrag avatar Sep 18 '20 21:09 nitrag

Thank you for your reply! Unfortunately it doesn’t work for me. It builds ok (as was the previous version) but it keeps crying about:

fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /tmp/icomoon-build/iphonesimulator/Icomoon.framework/Icomoon and /tmp/icomoon-build/iphoneos/Icomoon.framework/Icomoon have the same architectures (arm64) and can't be in the same fat output file

Maybe it’s something local… Any thoughts?

Thanks again, Tomer.

On 19 Sep 2020, at 0:55, nitrag [email protected] wrote:

@TomerAvni https://github.com/TomerAvni Created PR, Please checkout my branch and test.

git checkout https://github.com/nitrag/Icomoon.swift.git make install cd ~/Downloads/ icomoon-swift icomoon.zip Then drag/drop into xcode (remove old framework first).

PR Pending your test #16 https://github.com/schickling/Icomoon.swift/pull/16 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schickling/Icomoon.swift/issues/15#issuecomment-695103217, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIXSAJ5X34QBFEBEIOV7RLSGPJMZANCNFSM4RR5WNUQ.

TomerAvni avatar Sep 19 '20 04:09 TomerAvni

I believe it has to do with the updated build mechanism, I saw something similar here, but its Carthage:

https://github.com/Carthage/Carthage/issues/3019

Tomer.

On 19 Sep 2020, at 7:32, Tomer Avni [email protected] wrote:

Thank you for your reply! Unfortunately it doesn’t work for me. It builds ok (as was the previous version) but it keeps crying about:

fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /tmp/icomoon-build/iphonesimulator/Icomoon.framework/Icomoon and /tmp/icomoon-build/iphoneos/Icomoon.framework/Icomoon have the same architectures (arm64) and can't be in the same fat output file

Maybe it’s something local… Any thoughts?

Thanks again, Tomer.

On 19 Sep 2020, at 0:55, nitrag <[email protected] mailto:[email protected]> wrote:

@TomerAvni https://github.com/TomerAvni Created PR, Please checkout my branch and test.

git checkout https://github.com/nitrag/Icomoon.swift.git https://github.com/nitrag/Icomoon.swift.git make install cd ~/Downloads/ icomoon-swift icomoon.zip Then drag/drop into xcode (remove old framework first).

PR Pending your test #16 https://github.com/schickling/Icomoon.swift/pull/16 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schickling/Icomoon.swift/issues/15#issuecomment-695103217, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIXSAJ5X34QBFEBEIOV7RLSGPJMZANCNFSM4RR5WNUQ.

TomerAvni avatar Sep 19 '20 04:09 TomerAvni

@TomerAvni Sorry, it was on a branch and you I had you pull master. I merged, so now if you do git pull again and make install you should be good.

nitrag avatar Sep 19 '20 05:09 nitrag

Perfect. Thanks a lot again!

On 19 Sep 2020, at 8:26, nitrag [email protected] wrote:

@TomerAvni https://github.com/TomerAvni Sorry, it was on a branch and you I had you pull master. I merged, so now if you do git pull again and make install you should be good.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/schickling/Icomoon.swift/issues/15#issuecomment-695167478, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIXSAIGOXXWZUSNM5S2ITLSGQ6JFANCNFSM4RR5WNUQ.

TomerAvni avatar Sep 19 '20 05:09 TomerAvni