Quantcast
Channel: Service Bus forum
Viewing all articles
Browse latest Browse all 1916

SBNotificationHub error in iOS

$
0
0
Hello , 
We are using notification hub in "Windows Azure" service bus to send push notifications to iPhone. On working on a new app , and after uploading the push certificate of app as written , it doesn't send push notifications no more , and then it stops sending push notifications on other hubs
So I decided to work on the new version of "Windows Azure SDK" of iOS
I downloaded it from the windows azure downloads 
and the filename was : 
azuresdk-iOS-v1.1.3 
By checking the tutorial , I put the "WindowsAzure.FrameWork" to the project frameworks 
When building it on the device after writing the code , it gives me the error : 
Undefined symbols for architecture armv7s:

  "_OBJC_CLASS_$_SBNotificationHub", referenced from:

      objc-class-ref in AppDelegate.o

ld: symbol(s) not found for architecture armv7s

clang: error: linker command failed with exit code 1 (use -v to see invocation) 
Note : By following stack overflow and MSDN library , I tried to try a solution as setting "Architectures" in "Build Settings" to "Standard Architectures" and still the same error  
Note : Another solution was to add the ".m" files to "compile" sources in "Build phases" which makes me doubt the the compiler can't see the implementation files of the library 
Thanks in advance 

Viewing all articles
Browse latest Browse all 1916

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>