Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    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