Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix compiler nefc #54

Merged
merged 3 commits into from
Jun 7, 2019
Merged

Fix compiler nefc #54

merged 3 commits into from
Jun 7, 2019

Conversation

miguelangel-dev
Copy link
Member

@miguelangel-dev miguelangel-dev commented Jun 6, 2019

Issues

Description

we were using to link the user dependencies (Playground/Sources) + Apple Frameworks (.../Platform/Developer/Library/Frameworks) the option -static-executable. It was working but it was a bug in the swift compiler, and now it has been solved. Darwin architectures (iOS, macos) does not allow statically linked binaries (it only allows static libs). You can read more information about it here.

How does it implement?

we are compiling the user dependencies (Playground/Sources/*) together with the page.swift and using the options

  • -F to determinate where Apple frameworks are
  • -Xlinker search recursively in the Apple Frameworks for selected SDK.

On another hand, we have changed the SDK for iOS systems: from iphonesimulator (x86_64) to iphoneos (arm*)

XCTest doesn't support x86_64 arch, only arm* in iOS

@miguelangel-dev miguelangel-dev merged commit 9126e85 into develop Jun 7, 2019
@miguelangel-dev miguelangel-dev deleted the fix-compiler-nefc branch June 7, 2019 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants