Search Unity

Unity builds but doesn't add frameworks

Discussion in 'iOS and tvOS' started by yuriythebest, May 25, 2021.

  1. yuriythebest

    yuriythebest

    Joined:
    Nov 21, 2009
    Posts:
    1,125
    Hi All! Recently I began having a weird issue, when Unity builds the Xcode project, I used to have lots of standard frameworks added, now though I only get UnityFramework/storekit, same with all the mm/h files to the compile sources - they aren't added!
    I at first thought it was some editor script messing up the builds, but I tried creating a new project and same thing!
    please help!
    using unity Unity 2020.1.3f1 (64-bit), xcode 12.4


    Screenshot 2021-05-25 at 15.11.19.png
     
  2. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    360
    Are you opening .xcworkspace or .xcodeproj file?
     
  3. yuriythebest

    yuriythebest

    Joined:
    Nov 21, 2009
    Posts:
    1,125
    I'm opening .xcodeproj - I don't think it has .xcworkspace
    Screenshot 2021-05-26 at 23.59.15.png
     
  4. kaarloew

    kaarloew

    Joined:
    Nov 1, 2018
    Posts:
    360
    If you have any third party plugins that use cocoapods then it should have .xcworkspace file. And some older plugins (e.g. old firebase) will mess up the post processing step.
     
  5. yuriythebest

    yuriythebest

    Joined:
    Nov 21, 2009
    Posts:
    1,125
    thanks for your reply kaarloew!
    I tried creating an empty project and building and still have the same issue - I also have older Unity's installed, and there the builds go fine
     
  6. yuriythebest

    yuriythebest

    Joined:
    Nov 21, 2009
    Posts:
    1,125
    please help! Can't update my apps because of this issue/bug
     
  7. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    I'm not seeing any errors in your XCode screenshot. Is it not building?
     
  8. Neonlyte

    Neonlyte

    Joined:
    Oct 17, 2013
    Posts:
    516
    ...because all the link references are added to the UnityFramework target:

    upload_2021-6-4_21-11-18.png