PluginPush xcarchive missing

Hi Guys,

Since I have put PluginPush into my Ionic 4 project I can no longer build for IOS with the following error.

Error: archive not found at path '/Users/xx/src/xxx/platforms/ios/fsIonic.xcarchive'
node:8258) UnhandledPromiseRejectionWarning: Error code 65 for command: xcodebuild with args: -exportArchive,-archivePath,fsIonic.xcarchive,-exportOptionsPlist,/Users/xxx/platforms/ios/exportOptions.plist,-exportPath,/Users/xxx/platforms/ios/build/device
(node:8258) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:8258) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Any ideas what i’m doing wrong ?


So this seems to be linked to this issue

also found this stack overflow post

But the recommendations don’t seem to work with the ionic commands :confused:

I have the same issue.
And I have just created a new ionic project and try to build ios. It returns with the same answer: “error: archive not found at path” ==> xxxxx.xcarchive.

Error code 65 for command: xcodebuild with args: -exportArchive,-archivePath,myproject.xcarchive,-exportOptionsPlist,/Users/ngkung/apps/myproject/platforms/ios/exportOptions.plist,-exportPath,/Users/ngkung/apps/myproject/platforms/ios/build/device

Should be the Xcode issue where it requires to find the xcarchive file but it was not created in the ionic build.

Anyone gives us a help? Thank you so much.