pafry7 / widget-expo-example

15 stars 2 forks source link

Prebuild error #4

Open justinkx opened 1 month ago

justinkx commented 1 month ago

When run prebuild, getting error for iOS SyntaxError: [ios.entitlements]: withIosEntitlementsBaseMod: Expected "(", "\"", "{", or [0-9] but ";" found.

justinkx commented 1 month ago

Further debugging found error is thrown from withWidgetEntitlements.ts file

config.modResults give pbxProject { filepath: '/Users/jkx/Documents/widget-expo-example/ios/widgetexpoexample.xcodeproj/project.pbxproj', hash: [Object: null prototype] { project: [Object: null prototype] { archiveVersion: 1, classes: [Object: null prototype] {}, objectVersion: 46, objects: [Object: null prototype], rootObject: '83CBB9F71A601CBA00E9B192', rootObject_comment: 'Project object' }, headComment: '!$*UTF8*$!' } }

Screenshot 2024-05-24 at 9 05 32 PM
Alex1899 commented 1 month ago

hey @justinkx did you make any progress? having the same issue

justinkx commented 1 month ago

hey @justinkx did you make any progress? having the same issue

I used iOS plugin from here https://github.com/gaishimo/eas-widget-example/blob/main/plugin/src/ios/withWidgetXCode.ts and it worked. Maybe can make use of it

noitsa commented 1 month ago

Had this exact same issue. Do you have a dev team id in there? For me, the dev team id being blank caused it