Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Showing compile time error's in app with umbrella framework. #17

Closed
HarmeetSidhu opened this issue Jul 16, 2018 · 4 comments
Closed

Showing compile time error's in app with umbrella framework. #17

HarmeetSidhu opened this issue Jul 16, 2018 · 4 comments

Comments

@HarmeetSidhu
Copy link

HarmeetSidhu commented Jul 16, 2018

app showing compile time errors after added umbrella framework on Xcode9.2.

App only working on iphone 5c ,OS version 10.3.1.
Otherwise not able to compile the build or run on any OS 11.xx version devices.

Showing Recent Issues
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: While building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:

/Users/harmeet_singh/Documents/Bitbucket/BetaApp/:1:9: In file included from :1:

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:9: In file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:2: Module 'Security' was built in directory '/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Security.framework' but now resides in directory '/Users/harmeet_singh/Documents/Bitbucket/MyFrameworkName_v5/MyFrameworkName/Saltoframework/Security.framework'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:12:9: Could not build module 'Foundation'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: Could not build module 'Foundation'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h:15:9: Could not build module 'Foundation'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:8:9: Could not build module 'Foundation'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:9:9: Could not build module 'Foundation'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h:26:10: Could not build module 'IOSurface'

/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:8:9: Could not build module 'Foundation'

/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: Could not build module 'UIKit'

Could not build Objective-C module 'MyFrameworkName'

CompileSwift normal arm64 /
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
:1:9: note: in file included from :1:
#import "Headers/UIKit.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:
#import <UIKit/UIAccelerometer.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:2: error: module 'Security' was built in directory '/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Security.framework' but now resides in directory '/Users/harmeet_singh/Documents/Bitbucket/MyFrameworkName_v5/MyFrameworkName/Saltoframework/Security.framework'
#import <Foundation/Foundation.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:2: note: imported by module 'Foundation' in '/Users/harmeet_singh/Library/Developer/Xcode/DerivedData/ModuleCache/3BJNJ273NZGRX/Foundation-3MPEI7EAYN1PT.pcm'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
:1:9: note: in file included from :1:
#import "Headers/QuartzCore.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:
#include <QuartzCore/CoreAnimation.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:10:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:10:
#include <QuartzCore/CATransform3D.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:12:9: error: could not build module 'Foundation'
#import <Foundation/NSValue.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:9: note: while building module 'OpenGLES' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
#import <OpenGLES/EAGLDrawable.h>
^
:1:9: note: in file included from :1:
#import "Headers/EAGLDrawable.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:8:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:8:
#include <OpenGLES/EAGL.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: error: could not build module 'Foundation'
#include <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:9: note: while building module 'OpenGLES' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
#import <OpenGLES/EAGLDrawable.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h:13:10: note: while building module 'IOSurface' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h:13:
#include <IOSurface/IOSurfaceRef.h>
^
:3:9: note: in file included from :3:
#import "Headers/IOSurfaceObjC.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h:15:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:9: note: while building module 'Metal' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:
#import <Metal/MTLPixelFormat.h>
^
:1:9: note: in file included from :1:
#import "Headers/Metal.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:9:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:9:
#import <Metal/MTLTypes.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:8:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:9: note: while building module 'CoreImage' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
#import <CoreImage/CoreImage.h>
^
:1:9: note: in file included from :1:
#import "Headers/CoreImage.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:9:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:9: note: while building module 'CoreImage' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
#import <CoreImage/CoreImage.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:9: note: while building module 'CoreVideo' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:
#import <CoreVideo/CoreVideo.h>
^
:1:9: note: in file included from :1:
#import "Headers/CoreVideo.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:
#include <CoreVideo/CVPixelBuffer.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:461:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:461:
#include <CoreVideo/CVPixelBufferIOSurface.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h:26:10: error: could not build module 'IOSurface'
#include <IOSurface/IOSurfaceRef.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:9: note: while building module 'FileProvider' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:
#import <FileProvider/NSFileProviderExtension.h>
^
:1:9: note: in file included from :1:
#import "Headers/FileProvider.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:
#import <FileProvider/NSFileProviderDomain.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:8:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
:1:9: note: in file included from :1:
#import "Headers/MyFrameworkName.h"
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: error: could not build module 'UIKit'
#import <UIKit/UIKit.h>
^
:0: error: could not build Objective-C module 'MyFrameworkName'

CompileSwift normal arm64
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
:1:9: note: in file included from :1:
#import "Headers/UIKit.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:11:
#import <UIKit/UIAccelerometer.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:2: error: module 'Security' was built in directory '/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Security.framework' but now resides in directory '/Users/harmeet_singh/Documents/Bitbucket/MyFrameworkName_v5/MyFrameworkName/Saltoframework/Security.framework'
#import <Foundation/Foundation.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:2: note: imported by module 'Foundation' in '/Users/harmeet_singh/Library/Developer/Xcode/DerivedData/ModuleCache/3BJNJ273NZGRX/Foundation-3MPEI7EAYN1PT.pcm'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
:1:9: note: in file included from :1:
#import "Headers/QuartzCore.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h:9:
#include <QuartzCore/CoreAnimation.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:10:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h:10:
#include <QuartzCore/CATransform3D.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h:12:9: error: could not build module 'Foundation'
#import <Foundation/NSValue.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:9: note: while building module 'OpenGLES' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
#import <OpenGLES/EAGLDrawable.h>
^
:1:9: note: in file included from :1:
#import "Headers/EAGLDrawable.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:8:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h:8:
#include <OpenGLES/EAGL.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: error: could not build module 'Foundation'
#include <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:9: note: while building module 'OpenGLES' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h:7:
#import <OpenGLES/EAGLDrawable.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h:13:10: note: while building module 'IOSurface' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h:13:
#include <IOSurface/IOSurfaceRef.h>
^
:3:9: note: in file included from :3:
#import "Headers/IOSurfaceObjC.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h:15:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:9: note: while building module 'QuartzCore' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h:9:
#import <QuartzCore/QuartzCore.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:9: note: while building module 'Metal' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h:7:
#import <Metal/MTLPixelFormat.h>
^
:1:9: note: in file included from :1:
#import "Headers/Metal.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:9:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h:9:
#import <Metal/MTLTypes.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h:8:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:9: note: while building module 'CoreImage' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
#import <CoreImage/CoreImage.h>
^
:1:9: note: in file included from :1:
#import "Headers/CoreImage.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:9:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:9: note: while building module 'CoreImage' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:11:
#import <CoreImage/CoreImage.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:9: note: while building module 'CoreVideo' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:
#import <CoreVideo/CoreVideo.h>
^
:1:9: note: in file included from :1:
#import "Headers/CoreVideo.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:
#include <CoreVideo/CVPixelBuffer.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:461:10: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:461:
#include <CoreVideo/CVPixelBufferIOSurface.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h:26:10: error: could not build module 'IOSurface'
#include <IOSurface/IOSurfaceRef.h>
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: note: while building module 'UIKit' imported from /Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:
#import <UIKit/UIKit.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:9: note: while building module 'FileProvider' imported from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h:14:
#import <FileProvider/NSFileProviderExtension.h>
^
:1:9: note: in file included from :1:
#import "Headers/FileProvider.h"
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:9: note: in file included from /Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h:8:
#import <FileProvider/NSFileProviderDomain.h>
^
/Applications/Xcode 9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h:8:9: error: could not build module 'Foundation'
#import <Foundation/Foundation.h>
^
:1:9: note: in file included from :1:
#import "Headers/MyFrameworkName.h"
^
/Users/harmeet_singh/Documents/Bitbucket/BetaApp/BetaApp/framework/MyFrameworkName.framework/Headers/MyFrameworkName.h:9:9: error: could not build module 'UIKit'
#import <UIKit/UIKit.h>
^
:0: error: could not build Objective-C module 'MyFrameworkName'

@kirb
Copy link
Member

kirb commented Jul 16, 2018

You have a conflicting framework name, /Users/harmeet_singh/Documents/Bitbucket/MyFrameworkName_v5/MyFrameworkName/Saltoframework/Security.framework. Security is a public iOS framework — you need to pick another name. If that’s a copy of the system Security.framework, delete it and always prefer to use the one included in the SDK.

@codyd51
Copy link

codyd51 commented Jul 16, 2018

Please read your error messages. This is not an issue within this project.

FFS.

@HarmeetSidhu
Copy link
Author

HarmeetSidhu commented Jul 17, 2018

Hello @kirb @codyd51

Thanks guys for your response.

Here I am adding some more details regarding this issue.

I have already removed Security.framework from myFramework. This above error's shows only in the case if I have created .swift file in my framework.
After added .swift file in MyFramework SDK compiled successfully. But after added compiled SDK into my app when I trying to build app then compiler showing above errors.

Without .swift file it works perfectly.

I can access swift methods from objective-c files in my framework. There is no issue in importing swift files in Objective-c files in framework.

@kirb
Copy link
Member

kirb commented Jul 18, 2018

Would be an issue with our Swift implementation then. We aren’t currently generating overall modules, so I’d guess that’d be the issue.

Closing as dupe of theos/theos#254.

@kirb kirb closed this as completed Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants