Xcode “Missing Submodule” warning

前端 未结 8 1699
陌清茗
陌清茗 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

    Maybe, you can stop this warning by adding following line to "DirectProximityFramework.h"

    #import <DirectProximityFramework/GeofencingHelper.h>
    

    ...etc

    I suggest to check

    [Target your framework] -> Build Phases -> Headers -> Public

    0 讨论(0)
  • 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 <UIKit/UIKit.h>
        # 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.

    0 讨论(0)
提交回复
热议问题