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

PhaseScriptExecution failed with a nonzero exit code #25

Open
Tommecpe opened this issue Nov 24, 2020 · 1 comment
Open

PhaseScriptExecution failed with a nonzero exit code #25

Tommecpe opened this issue Nov 24, 2020 · 1 comment

Comments

@Tommecpe
Copy link

I use to use and love your lib, thank-you for the great work done. But, for a reason I cannot explain, I'm not able to build my projet anymore. The script failed.

I'm building the Localized example project and here is the error:

Command PhaseScriptExecution failed with a nonzero exit code

And some of the stack trace:

JIT session error: Symbols not found: [ _$s10Foundation12CharacterSetVMa, 
_$s10Foundation12CharacterSetV8newlinesACvgZ, 
_$sSy10FoundationE18trimmingCharacters2inSSAA12CharacterSetV_tF, 
_$sSS10FoundationE14contentsOfFile8encodingS2Sh_SSAAE8EncodingVtKcfC, 
_$sSS10FoundationE19_bridgeToObjectiveCSo8NSStringCyF,
 _$s10ObjectiveC8ObjCBoolVMn, 
_$sSy10FoundationE5write6toFile10atomically8encodingyqd___SbSSAAE8EncodingVtKSyRd__lF, 
_$s10Foundation22_convertNSErrorToErrorys0E0_pSo0C0CSgF, 
_$sSy10FoundationE20replacingOccurrences2of4with7options5rangeSSqd___qd_0_So22NSStringCompareOptionsVSnySS5IndexVGSgtSyRd__SyRd_0_r0_lF, 
...

It may not be directly linked to freshOS/Localize but maybe you have some hint ?

@kaiserabliz
Copy link

This can be solved by changing the root path of Localize.swift file on Run Script.
In my case I set it like this ${SRCROOT}/Localize.swift also notice that Localize.swift includes hardcoded paths for searching and scanning files. I forked the project and added a new way of locations method, check it out.

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

No branches or pull requests

2 participants