简体   繁体   English

iPhone SDK Facebook DemoApp无法启动

[英]iPhone SDK Facebook DemoApp not startable

I feel like an idiot right now as I tried to run the DemoApp which is coming with the default facebook sdk for the iphone. 我现在觉得自己像个白痴一样,因为我试图运行DemoApp,它是iphone的默认facebook sdk。

I registered a new application in facebook, took he application id and added it to he DemoAppViewConroller.m like this: 我在facebook上注册了一个新的应用程序,拿了他的应用程序ID并将它添加到他的DemoAppViewConroller.m中,如下所示:

static NSString* kAppId = @"175223790000000";

Then I changed the following in the DemoApp-Info.plist: 然后我在DemoApp-Info.plist中更改了以下内容:

URL types - Item 0 - URL Schemes - Item 0 = fb[175223790000000] URL类型 - 项目0 - URL方案 - Item 0 = fb[175223790000000]

Now the app crashes everytime it tries to start. 现在应用程序每次尝试启动时都会崩溃。 There is no warning thrown. 没有警告。

Does anyone know what I do wrong? 有谁知道我做错了什么?

Thx and cheers doonot Thx和欢呼声

Please remove the square brackets from URL scheme: 请从URL方案中删除方括号:

URL types - Item 0 - URL Schemes - Item 0 = fb175223790000000 URL类型 - 项目0 - URL方案 - 项目0 = fb175223790000000

Cheers. 干杯。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM