Apple push notifications 头痛;为开发而不是生产而工作

Apple push notifications 头痛;为开发而不是生产而工作,apple-push-notifications,Apple Push Notifications,嗨,朋友们 我至少已经做了一个星期了。就我的一生而言,我无法在生产上工作,在开发中工作得很好 我已经尝试过了,我在网上能找到的任何解决方案都没有效果 我已重新生成证书至少100次 我的授权.plist文件很好- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0

嗨,朋友们 我至少已经做了一个星期了。就我的一生而言,我无法在生产上工作,在开发中工作得很好

我已经尝试过了,我在网上能找到的任何解决方案都没有效果

我已重新生成证书至少100次

我的授权.plist文件很好-

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>get-task-allow</key>
    <false/>
    <key>aps-environment</key>
    <string>production</string>
    <key>application-identifier</key>
    <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
    <key>keychain-access-groups</key>
    <array>
        <string>$(AppIdentifierPrefix)$(CFBundleIdentifier)</string>
    </array>
</dict>
</plist>
当我使用codesign-dvvvv--authentications-Forecast.app时,我得到了这个-看起来不错

Executable=/Users/seantan/Documents/Alpha/build/Ad-Hoc-iphoneos/Forecast.app/Forecast
Identifier=com.xxxxxxxx.wforecast
Format=bundle with Mach-O universal (armv6 armv7)
CodeDirectory v=20100 size=2651 flags=0x0(none) hashes=124+5 location=embedded
CDHash=63a3d238db30f8e4fd3c2a545867fe2fe645a981
Signature size=4313
Authority=iPhone Distribution: xxxxxxxx
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Dec 24, 2010 2:24:08 PM
Info.plist entries=25
Sealed Resources rules=3 files=200
Internal requirements count=1 size=216
??qq?<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>application-identifier</key>
    <string>SYK86VV33F.com.xxxxxx.wforecast</string>
    <key>aps-environment</key>
    <string>production</string>
    <key>get-task-allow</key>
    <true/>
    <key>keychain-access-groups</key>
    <array>
        <string>SYK86VV33F.*</string>
    </array>
</dict>
</plist>
Executable=/Users/seantan/Documents/Alpha/build/Ad Hoc iphoneos/Forecast.app/Forecast
标识符=com.xxxxxxxx.wforecast
格式=与Mach-O通用(armv6 armv7)捆绑
CodeDirectory v=20100 size=2651 flags=0x0(无)哈希值=124+5位置=嵌入
CDHash=63A3D238DB30F8E4FD3C2A5455867FE2FE645A981
签名大小=4313
授权=iPhone分发:xxxxxxxx
Authority=苹果全球开发者关系认证机构
权威=苹果根CA
签字时间=2010年12月24日下午2:24:08
Info.plist条目=25
密封资源规则=3个文件=200
内部需求数量=1尺寸=216
??qq?
应用程序标识符
SYK86VV33F.com.xxxxxx.wforecast
aps环境
生产
获取任务允许
密钥链访问组
SYK86VV33F*
我完全没有想法/解决方案。有人能给我指出正确的方向吗


在有人建议之前,我已经尝试过gateway.push.apple.com用于生产,gateway.sandbox.push.apple.com用于开发

我也遇到过类似的问题。逐步完成在中描述的说明对我有帮助。我不得不做了一些修改,所以我不能确切地说是哪个解决了问题。也许你的问题各不相同,但希望有什么能帮助你。

有人吗?我真的需要一些帮助:(嗯,有人吗?我已经做了10天了:(你解决过这个问题吗?只是有同样的问题,并在这篇文章中描述了我的痛苦,链接现在死了。
Executable=/Users/seantan/Documents/Alpha/build/Ad-Hoc-iphoneos/Forecast.app/Forecast
Identifier=com.xxxxxxxx.wforecast
Format=bundle with Mach-O universal (armv6 armv7)
CodeDirectory v=20100 size=2651 flags=0x0(none) hashes=124+5 location=embedded
CDHash=63a3d238db30f8e4fd3c2a545867fe2fe645a981
Signature size=4313
Authority=iPhone Distribution: xxxxxxxx
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Signed Time=Dec 24, 2010 2:24:08 PM
Info.plist entries=25
Sealed Resources rules=3 files=200
Internal requirements count=1 size=216
??qq?<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>application-identifier</key>
    <string>SYK86VV33F.com.xxxxxx.wforecast</string>
    <key>aps-environment</key>
    <string>production</string>
    <key>get-task-allow</key>
    <true/>
    <key>keychain-access-groups</key>
    <array>
        <string>SYK86VV33F.*</string>
    </array>
</dict>
</plist>