Xcode “Missing Submodule” warning

前端 未结 8 1713
陌清茗
陌清茗 2021-02-01 02:13

I\'m using Xcode6 GM to create a Coacoa Touch Framework (a new function in Xcode6), then this framework is included into my app.

Everything is fine (works fine), except

8条回答
  •  攒了一身酷
    2021-02-01 02:54

    I had same issue and my solution was..

    When you create the framework project.Your project automatically "yourProjectName.h" file gets created, In this header file import class class.

    In my case I am getting missing submodule 'MSFramework.MSLocationManager' [-Wincomplete-umbrella]this warning.

    resolved by Just importing

       #import 
        # import "MSLocationManager.h"
    
        //! Project version number for MSFramework.
        FOUNDATION_EXPORT double MSFrameworkVersionNumber;
    
        //! Project version string for MSFramework.
        FOUNDATION_EXPORT const unsigned char MSFrameworkVersionString[];
    

    here I just add the # import "MSLocationManager.h"in header file.

提交回复
热议问题