0

I've downloaded Telegram's code and I'm playing around trying to add Auth0 with it, so I tried to used pods, replicating the practice code.

After some pain regarding PODS_ROOT, I finally managed to get it going, only to encounter the above error.

And now I'm not sure what to do. This answer leads me to believe there's an issue with the info.plist file location, but there's too many:

enter image description here

UPDATE:
I saw that the Bundle Identifiers for the Targets were blank, in contrast to the 'base' Telegram app (perhaps something to do with switching from config configuration to Pods-Telegraph?), which had values in it. So I copied over the Bundle Identifiers from the 'base' app like so:

enter image description here

And promptly ended with this new issue:

ld: library not found for -lPods-watchkitapp Extension clang: error: linker command failed with exit code 1 (use -v to see invocation)

EDIT:

For reference:
Telegram (iOS version is Objective-C)
Auth0

For replication, I:

  • Downloaded necessary files for each project. Telegram is missing some files scattered around the net, and Auth0 requires a (free) account for configuration.
  • Created a podfile for Telegram.
  • Modified it to resemble Auth0 podfile - Target main app only. If done right, this should replicate the error in question.
  • Filled in Bundle Filters (erased upon pod install), based off original values. If done right, this should replicate the UPDATE error in question.
Cœur
  • 37,241
  • 25
  • 195
  • 267
zack_falcon
  • 4,186
  • 20
  • 62
  • 108

1 Answers1

1

Close your project . Open Again. Clean your project and try to run.


And if its not works then Search info.plist right click -> Remove reference . And add it again. and try to Build.

enter image description here

EDIT :- After installing pod You need open project from .xcworkspace in place of .xcodeproject .

enter image description here

Badal Shah
  • 7,541
  • 2
  • 30
  • 65
  • I see a Telegraph-Info.plist. Is that the one? There'a a lot of info.plists, under every project. – zack_falcon Apr 30 '16 at 13:07
  • 1
    Find info.plist file of your project . please add screenshot if you didn't identify. (just info.plist) – Badal Shah Apr 30 '16 at 13:11
  • I've updated the question. There's new details and new errors. – zack_falcon May 01 '16 at 03:11
  • @zack_falcon again try to update pod with pod update command. – Badal Shah May 02 '16 at 04:58
  • Tried that, but it didn't change anything. On a side note, I tried deleting that Pods from Link Binary of the Watchkit target, but I ended up nuking the whole thing even more. This is slowly starting to look hopeless. – zack_falcon May 02 '16 at 06:19
  • if you are trying to intigrate in demo project then please upload and give me link. so , i can see the problem. – Badal Shah May 02 '16 at 06:36
  • Very well, here's `Telegram`: https://telegram.org/apps (note: Objective-C) and then there's `Auth0` (also Objective-C): https://github.com/auth0/Lock.iOS-OSX/tree/old-sdk – zack_falcon May 02 '16 at 06:58
  • I need demo in which you are trying to add – Badal Shah May 02 '16 at 07:03
  • Those are the demo projects. Telegram is the basis. I've updated the question with details on how to replicate the problem I've encountered. – zack_falcon May 02 '16 at 07:09