Vinod Jadhav February 2016

Use of undeclared type 'DKAsset', Use of unresolved identifier 'DKImagePickerController'?

I want to select multiple images from gallery. so for that I have installed DKImagePikerController Using pod.

For that in podfile.

pod 'DKImagePickerController' use_frameworks!

After that I have followed their demo example for implement gallery in app. but I got follwoing error.

1.Use of undeclared type 'DKAsset'. 2.Use of unresolved identifier 'DKImagePickerController'?

I am following this lib and code. https://github.com/zhangao0086/DKImagePickerController

Answers


Tapansinh Solanki February 2016

First of all you need to import framework. for that,

import DKImagePickerController

after that under Navigator>select pods>Build Settings>Architectures>Build Active Architecture Only -> Set to No for all pods.(select all pods listed under "Target" and set "No" for "Build Active Architecture Only")

Clean and build your project and you are done.

Post Status

Asked in February 2016
Viewed 3,900 times
Voted 4
Answered 1 times

Search




Leave an answer