I am using FB SDK to share on fb. I make xcode project from unity and build the xcode project on device and it runs properly and let me share on fb. But when i make the archive of same project and try to upload it on app store it gives me the following error:
ERROR ITMS-90158: "The following URL schemes found in your app are not in the correct format: [fb147889065619324 ]. URL schemes need to begin with an alphabetic character, and be comprised of alphanumeric characters, the period, the hyphen or the plus sign only. Please see RFC1738 for more detail."
ERROR ITMS-90158: "The following URL schemes found in your app are not in the correct format: [fb147889065619324 ]. URL schemes need to begin with an alphabetic character, and be comprised of alphanumeric characters, the period, the hyphen or the plus sign only. Please see RFC1738 for more detail."
I understand that it is because app id should not contain space. But when I remove space from app id and run it on device it crashes and gives the following error in log:
*** Terminating app due to uncaught exception 'InvalidOperationException', reason: 'fb147889065619324 is not registered as a URL scheme. Please add it in your Info.plist'
I am using Unity 5.3.5.