Closed HarmeetSidhu closed 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.
Please read your error messages. This is not an issue within this project.
FFS.
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.
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.
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>