question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

iOS Legacy Build System - still necessary?

See original GitHub issue

I’ve been attempting to test the ios-v8 work that appears to be nearing completion, and have run into an issue during build:

error: the use of xcframeworks is not supported in the legacy build system.

It looks like nativescript-plugin-firebase forces the project to build with this here: https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/master/publish/scripts/installer.js#L601

The commit associated seems to hint that the firebase team was in a bit of a transition about two years ago: https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/1022

Any idea if using the legacy system is still needed? Removing ios-v8 from the situation, just removing that portion of the after-prepare hook seems to work. It is extremely possible this is unrelated to this project, but with ios-v8 altering the hook similarly made my build work, but then my app would not open (nothing in the build output). You can test the ios v8 work by replacing your tns-ios version with beta-v8 and doing a clean build from there. It does seem like this question can be answered entirely independently from the v8 work though.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
james-criscuolocommented, Sep 1, 2020

Are you using @nativescript/firebase and the rc version?

1reaction
james-criscuolocommented, Jul 14, 2020

That’s exactly how I did it, I just wasn’t sure if there was some sort of compatibility to be worried about. If you’d like, I can make a PR removing it, just wanted to know if there were any concerns I was leaving out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Legacy build system DEPRECATED | Apple Developer Forums
Hi, In Xcode 12 beta I can see warning - the Legacy build system will be removed in a future release. How can...
Read more >
Xcode13 - Legacy Build System deprecated, unable to install ...
Legacy Build System has been deprecated since Xcode10 + but can still choose to use it. In the newest xcode Xcode13 you would...
Read more >
Xcode13 - Legacy Build System deprecated, unable to install ...
Legacy Build System has been deprecated since Xcode10 + but can still choose to use it. In the newest xcode Xcode13 you would...
Read more >
vcremote always uses Xcode's legacy build system when ...
If Visual Studio is used to compile the project, the legacy build system is still used which again results in the above error...
Read more >
Five Things You Must Know About Xcode 10 New Build System
it will rebuild all the frameworks from scratch and cause the huge delay in building iOS project. If you are using Carthage with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found