theos / sdks

Patched sdks that include private framework tbds
Other
585 stars 205 forks source link

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

Closed HarmeetSidhu closed 6 years ago

HarmeetSidhu commented 6 years ago

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 ^ /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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ :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 ^ :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 ^ :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 ^ /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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ /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 ^ /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 ^ /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 ^ :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 ^ /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 ^ :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 ^ :0: error: could not build Objective-C module 'MyFrameworkName'
kirb commented 6 years ago

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 commented 6 years ago

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

FFS.

HarmeetSidhu commented 6 years ago

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 commented 6 years ago

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.