Facing Issue with Shephertz_APP42_IOS_API Framework for Push Notification

0 votes

Hi 

I am using Shephertz_APP42_IOS_API Framework.I have followed all the steps of integration given on your portal,but in this implementation there are two Additional Frameworks that we need to add in our Xcode project.

1.CoreTelephony.Framework

2.SystemConfiguration.Framework

When we import these two in our project and build the project,it gives an error:

ld: framework not found CoreTelephony

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Actually This CoreTelephony Framework is not getting add in the project.It is showing in RED colour when we add.

And this error comes.

So please tell me how can i resolve this?

Thanks

Jittender

asked Dec 2, 2015 in App42 Cloud API-BaaS by jittender (10 points)

1 Answer

0 votes

Hello Jittender,

You need to add both the frameworks to your project as follows:

1. Select your project in the left navigation panel of xcode

2. Select the project under Targets from the middle pane

3. Select Build Phases

4. Click on "+" button under Link Binary With Libraries

5. Search for CoreTelephony and click add

6. Follow the same steps for 2nd one as well.

Let me know if you face any problem.

Thanks.

answered Dec 2, 2015 by rajeev.etc (1,660 points)
Hi
Yeah the problem is that,there is no CoreTelephony.Framework in my Xcode project.I am using Xcode 6.3.1.When i click on "+" button under Link Binary With Libraries and search for CoreTelephony,then there is only CoreText.Framework not CoreTelephony. Would i need to download it from somewhere else?
Hi
I have solved this problem.but now i am facing new errors.
I couldn't understand please tell me solution:

ld: warning: ignoring file /Users/ankushbatra/Desktop/Vuforia SDK's/vuforia-sdk-ios-5-0-5/samples/VuforiaSamples-5-0-5 copy/SenTestingKit.framework/SenTestingKit, missing required architecture armv7 in file /Users/ankushbatra/Desktop/Vuforia SDK's/vuforia-sdk-ios-5-0-5/samples/VuforiaSamples-5-0-5 copy/SenTestingKit.framework/SenTestingKit (2 slices)
duplicate symbol _OBJC_CLASS_$_User in:
    /Users/ankushbatra/Library/Developer/Xcode/DerivedData/VuforiaSamples-ezlqllyqepusptehcjuftkxjrrvr/Build/Intermediates/VuforiaSamples.build/Debug-iphoneos/VuforiaSamples.build/Objects-normal/armv7/User.o
    /Users/ankushbatra/Desktop/Vuforia SDK's/vuforia-sdk-ios-5-0-5/samples/VuforiaSamples-5-0-5 copy/Shephertz_App42_iOS_API.framework/Shephertz_App42_iOS_API
duplicate symbol _OBJC_IVAR_$_User.email in:
    /Users/ankushbatra/Library/Developer/Xcode/DerivedData/VuforiaSamples-ezlqllyqepusptehcjuftkxjrrvr/Build/Intermediates/VuforiaSamples.build/Debug-iphoneos/VuforiaSamples.build/Objects-normal/armv7/User.o
    /Users/ankushbatra/Desktop/Vuforia SDK's/vuforia-sdk-ios-5-0-5/samples/VuforiaSamples-5-0-5 copy/Shephertz_App42_iOS_API.framework/Shephertz_App42_iOS_API
duplicate symbol _OBJC_METACLASS_$_User in:
    /Users/ankushbatra/Library/Developer/Xcode/DerivedData/VuforiaSamples-ezlqllyqepusptehcjuftkxjrrvr/Build/Intermediates/VuforiaSamples.build/Debug-iphoneos/VuforiaSamples.build/Objects-normal/armv7/User.o
    /Users/ankushbatra/Desktop/Vuforia SDK's/vuforia-sdk-ios-5-0-5/samples/VuforiaSamples-5-0-5 copy/Shephertz_App42_iOS_API.framework/Shephertz_App42_iOS_API
ld: 24 duplicate symbols for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Please Reply me ASAP
Thanks
Thanks for replying
it is solved.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...