swift3ibm-cloudxcode10.2ibm-appid

No such module 'IBMCloudAppID' in xcode 10.2 Swift


I am trying to use IBMCloudAppId is my swift project and getting an error when I am trying to import IBMCloudAppID in my xcode 10.2.

I followed these steps as

  1. Open your Xcode project and enable Keychain Sharing (Under project settings > Capabilities > Keychain sharing)

  2. Under project setting > info > Url Types, Add $(PRODUCT_BUNDLE_IDENTIFIER) as a URL Scheme

  3. Add the following import to your AppDelegate.swift file: import IBMCloudAppID

Getting an error

No such module 'IBMCloudAppID' in xcode 10.2

And my POD file looks like

use_frameworks!

def shared_pods
    platform :ios, '10.2'
    pod 'BMSCore', '~> 2.3.1'
    pod 'JOSESwift', '~> 1.1.0'
    pod 'IBMCloudAppID'
end

target 'IBMCloudAppID' do
    use_frameworks!
     pod 'IBMCloudAppID'
     shared_pods
end

target 'IBMCloudAppIDTests' do
    shared_pods
end

Solution

  • Answer to this question

    enter image description here

    And after opening workspace, build library first and then project.