error message i got after i integrated the pinkel star api and action button for the share
Undefined symbols for architecture i386:
"OBJC_CLASS$_PSMainViewController", referenced from:
objc-class-ref in DetailViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
-
pinkelStarImage.png
309 KB
This discussion was closed! See this FAQ for more information:
-
Why should I use PinkelStar
See more..The setup and integration of PinkelStar takes less than 5 minutes. PinkelStar takes care of the boring stuff and lets you concentrate on building cool features into your app. PinkelStar works on both iPhone and Android.
Most important, PinkelStar comes with a real-time statistics dashboard. You can see the effect of people talking about your app in rea...
Comments are currently closed for this discussion. You can start a new one.
arishanapallikirankumar closed this discussion on 16 Mar, 2012 11:37 PM.
Alexander re-opened this discussion on 17 Mar, 2012 08:14 AM
Support Staff 2 Posted by Alexander on 17 Mar, 2012 08:15 AM
Did you solve the issue? Just locate the PSMainViewController.m file and make sure it is part of your project
Alexander
Alexander closed this discussion on 17 Mar, 2012 08:15 AM.
arishanapallikirankumar re-opened this discussion on 18 Mar, 2012 12:29 AM
3 Posted by arishanapallikirankumar on 18 Mar, 2012 12:29 AM
@Alexander First Thanks for providing the wounderfull API for social networking Thanks to you and Your PinkelStar team.
But i do have some issue while integrating to my application. where i check the demo in youtube and downloaded the example project test_ps_framework did exactly same i drag the PinkelStar folder and added PinkelStar Framework and added the other framework MessageUI.framework, SystemConfiguration in my header file i import PinkelStar #import <PinkelStar/PSPinkelStar.h> In my native button action.
-(void)publishAction:(id)sender{ psMainViewController = [[PSMainViewController alloc] initWithNibName:[NSString stringWithString:@"PSMainViewController_iPad"] bundle:nil];
navController = [[UINavigationController alloc] initWithRootViewController:psMainViewController];
}
I get one warring
warning: skipping file '/Users/kiran/Desktop/DoodlePaint/../PinkelStar/PinkelStar-pinkelstar-iOS-demo-b8b8c01/PinkelStar' (unexpected file type 'folder' in Frameworks & Libraries build phase)
i get the same error
Undefined symbols for architecture i386:
"OBJC_CLASS$_PSMainViewController", referenced from:
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Then i check the project setting of test_ps_framework
OtherLinkerFlags i added the -ObjC.
Still the same erro i am getting.
it will be nice to me to fix the issue and use your social network in my application.
@thanks in advance.
Support Staff 4 Posted by Alexander on 19 Mar, 2012 08:30 AM
Hi, I am not sure yet why this error appears. However, can you verify that you are following the instructions in the readme file at the github repository
PinkelStar at GitHub
The video is outdated and maybe you somehow missed an integration step. If things still fail to work, let me know and I will see if we can figure out what is going on.
Alexander
5 Posted by arishanapallikirankumar on 19 Mar, 2012 07:08 PM
Hi
Alexander i worked on integration social network! follow the instruction given on readme file. For me its working fine its loaded the publish screen.
But!
it saying
the application key and secret are incorrect please close the app and update them correctly.
Then i open PinkelStar Support and login with my email and password
I click the Edit your Profile button i found two options one is application key and Read-only API Key i copy application key and paste it in application key and applicationSecret i past the read only api key. then its still saying the same
the application key and secret are incorrect please close the app and update them correctly.
again i click Reset api key and Reset Read only Key.
and copy the new two different key and paste in my pinkelstar.plist
still saying same
the application key and secret are incorrect please close the app and update them correctly.
I don't know why?
Support Staff 6 Posted by Alexander on 19 Mar, 2012 07:51 PM
Hi,
it sounds like you are almost there. Sorry fot he hassle. Please make sure you copy the Application Key and Secret from the correct place.
1) visit your admin overview panel
2) select the stats page of the app you are integrating by pressing on the name of the app
3) you should now see your app's stats dashboard. At the top of the page there is an app key and an app secret that you can copy
4) Copy the app key and secret into your pinkelstar.plist file that is part of your Xcode project
5) recompile and run the project, everything should work now
If it still fails let me know and we'll see what we can do
Alexander
7 Posted by arishanapallikirankumar on 19 Mar, 2012 08:47 PM
Hi
Alexander [Alex]
In below picture API Key and Read-Only API Key are there
so i copy API Key and paste in application Key place
and copy Read only API Key in application secret place.
This is my first time integrating the social Network api[like facebook twitter .. etc.,] In my application.
Do I need to copy application secret key from any other place or in images is it perfect flow.
Support Staff 8 Posted by Alexander on 19 Mar, 2012 09:02 PM
You are not looking at the right page to find your app key and secret.
Please follow the instructions above to find your app key and secret.
Login to www.pinkelstar.com/account/applications , then select tour app and visit your stats page (the URL should end with /statistics)
You will find both your app key and secret there
Alexander
9 Posted by arishanapallikirankumar on 19 Mar, 2012 09:24 PM
Hi
Alexander i just want to say Eureka! Its worked for me!
But for me its took more then 2 min! its almost 2 day's :D
I really thanks to you for fixing the issue's
Support Staff 10 Posted by Alexander on 20 Mar, 2012 06:38 AM
Excellent!! And good luck with your app :-)
Alexander closed this discussion on 20 Mar, 2012 06:38 AM.
arishanapallikirankumar re-opened this discussion on 20 Mar, 2012 10:25 AM
11 Posted by arishanapallikirankumar on 20 Mar, 2012 10:25 AM
Hi Alexander
Thanks a lot for the guiding me!
But i do have one more issue.
for the gmail its not working.
Its not posting the message to the gmail account.
its say's publication was successfull
when i open my gmail account i did not receive any mail.
12 Posted by arishanapallikirankumar on 22 Mar, 2012 07:24 PM
The email is coming two time in the social network framework!
may i know why it like that?
i attach the screen shoot.
If and select the mail and click send, and check my mail box [because i send it to my mail address], i do not get any mail to my account. can you help me out with this issue's
Support Staff 13 Posted by Alexander on 22 Mar, 2012 08:22 PM
Hi
I am not sure why there are 2 email icons. I'll look into that. Please make sure you test sending email on the device as it will not send an actual email in the simulator.
Alexander
14 Posted by arishanapallikirankumar on 01 Apr, 2012 09:16 AM
Hi
Alexander any progress on the issue of the double mail icon appears on the social network!
Support Staff 15 Posted by Alexander on 01 Apr, 2012 09:52 AM
Hi,
sorry, we haven't been able to reproduce it yet. I will talk tot eh team again on Monday to see if we can figure out what is going on.
Alexander
Support Staff 16 Posted by Alexander on 01 Apr, 2012 09:58 AM
Can you try running the iOS demo app in the simulator to see if there are 2 email icons there? I have just run the demo myself and it shows only 1 email icon.
If that is the case for you as well, then you may need to double check your code for differences with the demo app.
Let me know
17 Posted by arishanapallikirankumar on 02 Apr, 2012 02:19 PM
I will try to reproduce the issue!
And let you know the scenario !
Alexander closed this discussion on 02 Jun, 2012 06:45 AM.