2017-09-27 5 views
1

OneSignal 모듈에 문제가 있습니다. 그것은 저에게 OneSignal 같은 모듈을주지 않고 코코아 포드로 설치했고 내 포드 파일에 use_frameworks!을 가지고 있습니다. 난 정말 내가 수 있도록 구성해야 다른 어떤 단서 그것이 내가 여기에 다른 솔루션을 시도 좋아해당 모듈 없음 OneSignal

작동하지 있습니다

Getting error No such module using Xcode, but the framework is there

enter image description here

enter image description here

포드 파일을

# Uncomment this line to define a global platform for your project 
# platform :ios, '9.0' 

target 'Jaee2' do 
    # Comment this line if you're not using Swift and don't want to use dynamic frameworks 
    use_frameworks! 

    # Pods for Jaee2 


pod 'OneSignal', '>= 2.5.2', '< 3.0' 
end 

target 'OneSignalNotificationServiceExtension' do 
use_frameworks! 

    pod 'OneSignal', '>= 2.5.2', '< 3.0' 
end 
+0

외부 리소스에 대한 링크가 확인하지만, 아마 간단하게 이해하기 위해 링크를 따라 다른 사람을 강제하지 않는 게시물에 직접 시도 것을 나열하는 더 나은 것 네가 한 짓. –

답변

0

import OneSignal 거기에 AppDelegate에도 같은 오류가 표시됩니까? 아니요 인 경우대상에 pod 'OneSignal', '>= 2.5.2', '< 3.0'을 추가했는지 확인하십시오. 그래서 포드 파일이 보일 것 같은 :

target 'OneSignalNotificationServiceExtension' do 
    # Comment the next line if you're not using Swift and don't want to use dynamic frameworks 
    use_frameworks! 

    # Pods for OneSignalNotificationServiceExtension 
pod 'OneSignal', '>= 2.5.2', '< 3.0' 

end 

target 'test' do 
    # Comment the next line if you're not using Swift and don't want to use dynamic frameworks 
    use_frameworks! 

    # Pods for test 
pod 'OneSignal', '>= 2.5.2', '< 3.0' 

end 
+0

나는 내 pod 파일에서 처음에 내 질문에 내 pod 파일을 확인해 주시겠습니까 – leo0019

+0

아니요 AppDelegate에서 오류가 보이지 않습니다 – leo0019

+0

다음 단계는 무엇인지 공유 할 수 있습니까? Cz 여기에 언급 된 단계, https://documentation.onesign.com/.com/docs/ios-sdk-setup을 따랐습니다. 문제가 생겼습니다. –