Skip to content

Include of non-modular header inside framework module #16

@bennyty

Description

@bennyty

Hey, I'm running into an issue when trying to install a swift framework into a set of previously obj-c only dependancies.

This looks like a similar problem to project-imas/encrypted-core-data#192). Perhaps it can be solved the same way?

Error:
/Pods/SecureFoundation/SecureFoundation/SecureFoundation.h:14:9: Include of non-modular header inside framework module 'SecureFoundation.SecureFoundation': '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/CommonCrypto/CommonCrypto.h'

Podfile:

# Uncomment this line to define a global platform for your project
platform :ios, '9.2'
# Uncomment this line if you're using Swift
use_frameworks!

def shared_pods
	pod 'DateTools'
	pod 'DZNEmptyDataSet'
	pod 'UITextView+Placeholder'
	pod 'FMDB'
	pod 'SQLCipher'
	pod 'EncryptedCoreData', :git => 'https://github.com/project-imas/encrypted-core-data.git'
	pod 'SecureFoundation', :git => 'https://github.com/project-imas/securefoundation.git'
	pod 'SecurityCheck', :git => 'https://github.com/project-imas/security-check.git'
	pod 'CorePlot'
	pod 'EZAudio', '~> 1.1.4'
	pod 'SwiftKeychainWrapper'
end

target 'PROJECTNAME' do
	shared_pods
end

target 'PROJECTNAME Demo' do
	shared_pods
end

target 'PROJECTNAMEUITests' do
    shared_pods
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions