Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. We're looking for your feedback on the platforms you use and how you use them. Let us know!
    Dismiss Notice
  4. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  6. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  7. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  8. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Help, OneSignal distribution on IOS

Discussion in 'iOS and tvOS' started by Gabrio, Jun 15, 2018.

  1. Gabrio


    Jan 31, 2016
    I'm trying to use OneSignal on IOS.
    I'm using Unity 5.6.3 and OneSignal 2.7.1
    If I compile my project with developer provisioning and run it on my device, it works.
    When I change the provisioning to distribution and try to archive the project, it give me this error:

    PBXCp /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-dgnkibvlwpsdjaduxrebeorcznqx/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/OneSignalNotificationServiceExtension.appex /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-dgnkibvlwpsdjaduxrebeorcznqx/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/Applications/

    cd "/Users/user/Release/ApplicationTest"

    export PATH="/Applications/"

    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -exclude Headers -exclude PrivateHeaders -exclude Modules -exclude *.tbd -strip-debug-symbols -strip-tool /Applications/ -resolve-src-symlinks /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-dgnkibvlwpsdjaduxrebeorcznqx/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/BuildProductsPath/Release-iphoneos/OneSignalNotificationServiceExtension.appex /Users/user/Library/Developer/Xcode/DerivedData/Unity-iPhone-dgnkibvlwpsdjaduxrebeorcznqx/Build/Intermediates.noindex/ArchiveIntermediates/Unity-iPhone/InstallationBuildProductsLocation/Applications/

    OneSignalNotificationServiceExtension.appex: No such file or directory

    I've followed the guide on the OneSignal Setup SDK twice, but I don't understand what am I missing.

    Thank you in advance.
  2. mrfunnycat


    Nov 29, 2014
    If you haven't managed to solve this yet, I had the same problem and one of these steps helped me solve it, not sure which:

    - Clean the project
    - Set the scheme to OneSignalNotificationServiceExtension, build it, then switch back to Unity-iPhone
    - Set the deployment target of the extension to iOS 10.0
    - Disconnect all iOS devices, set device to Generic iOS device

    After this I've been able to archive successfully.
    Last edited: Jun 30, 2018