iosphere / ISHPermissionKit

A polite and unified way of asking for permission on iOS
https://iosphere.de
Other
614 stars 44 forks source link

Issues with CocoaPods, I can't build a project using it #91

Closed bezigon closed 7 years ago

bezigon commented 7 years ago

Below are the steps for reproducing the issue:

  1. Clone ISHPermissionKitSampleApp
  2. Remove external git submodule
  3. Add Podfile using pod init
  4. Add pod 'ISHPermissionKit' to Podfile
  5. Create the workspace using pod install
  6. Open the workspace and try to build a project
Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_ISHPermissionRequestNotificationsLocal", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_ISHPermissionRequestAccount", referenced from:
      objc-class-ref in AppDelegate.o
  "_OBJC_CLASS_$_ISHPermissionRequestHealth", referenced from:
      objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solution? Configurations seems to be set normally:

Debug
 \_ ISHPermissionKitSampleApp -> ISHPermissionKitAppConfiguration.xcconfig
    \_ ISHPermissionKitSampleApp -> Pods-ISHPermissionKitSampleApp.debug.xcconfig
bezigon commented 7 years ago

RTFM please? :D