IOS native plugins. No such file or directory

Hello there! We have IOS native plugins libraries in Plugins/iOS directory. Some of them cause errors during Unity Cloud Build process.

On the local machine and on jenkins server build is fine.

P.S. UCB service is amazing by the way. Thank you!

15: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/libiPhone-lib.a’
16: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/iOSBridge.cs’
17: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/iOSBridge.cs.meta’
18: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/iOSBridge.h’
19: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/iOSBridge.h.meta’
20: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/iOSBridge.mm’
21: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/iOSBridge.mm.meta’
22: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/AdColony.framework.meta’
23: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/UnityADC.mm’
24: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/UnityADC.mm.meta’
25: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/libSoomlaIOSStore.a’
26: ERROR: [Errno 2] No such file or directory: ‘/BUILD_PATH/project_name.54dddb9d8fd636073b0015ef.default-ios/iOS/Libraries/libSoomlaIOSStore.a.meta’

Thanks for the friendly words! We are glad you like it so far! Please check your ignore file settings if it ignores libraries or any of the source files. Do you use the XCode manipulation API to add custom compile flags e.g. for Soomla - if yes please make sure you use the latest version https://bitbucket.org/Unity-Technologies/xcodeapi/downloads
Does it fail recently and did it already work properly before?

Our ignore file contains the following lines:
Library/
Temp/
*.userprefs
*.gitignore
*.csproj
*.pidb
*.unityproj
*.sln
*Thumbs.db

We don’t use XCode manipulation API. (Should we? :slight_smile: )

We are just getting started with the service and it is our first attempt. So there is no previous success builds. But our previous dedicated Jenkins server gathered the project successfully.

For Soomla you need it to define the other linker flags:

proj.AddBuildProperty (target, “OTHER_LDFLAGS”, “-ObjC”);

please add the manipulation API to your project and test it again!

This solves the problem with Soomla. Thank you, David!

1 Like