3

https://github.com/realm/realm-cocoa/blob/master/scripts/strip-frameworks.sh

We are always using this script to remove architectures for dynamic frameworks. It has worked with Xcode 9.

In Xcode 10, it didn't remove the architectures. Anything in Xcode 10 that could break this? We have a theory that it is related to the new build system

Ted
  • 22,696
  • 11
  • 95
  • 109

1 Answers1

6

Solution

The new build system is now running scripts in parallel if its dependency is already available or if it doesn't have any dependency. The solution is to provide input files to tell "run scripts" not to run yet without those dependencies.

This is more elaborated in this post

Alternative Solution:

We used the legacy build system as a work around.

File > Workspace Settings File-Workspace-Settings New Build System Legacy Build System

Ted
  • 22,696
  • 11
  • 95
  • 109