title: How can I import salesforce marketing cloud in ios (react native)
body: <p><a href="https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk" rel="nofollow noreferrer">https://github.com/salesforce-marketingcloud/react-native-marketingcloudsdk</a></p>
  <p>How can I import salesforce marketing cloud in ios</p>
  <p>After npm install and pod install, when I put the below code in AppDelegate.m</p>
  <pre><code>MarketingCloudSDKConfigBuilder *mcsdkBuilder = [MarketingCloudSDKConfigBuilder new];
  [mcsdkBuilder sfmc_setApplicationId:@&quot;{MC_APP_ID}&quot;];
  [mcsdkBuilder sfmc_setAccessToken:@&quot;{MC_ACCESS_TOKEN}&quot;];
  [mcsdkBuilder sfmc_setAnalyticsEnabled:@(YES)];
  [mcsdkBuilder sfmc_setMarketingCloudServerUrl:@&quot;{MC_APP_SERVER_URL}&quot;];
  
  NSError *error = nil;
  BOOL success =
      [[MarketingCloudSDK sharedInstance] sfmc_configureWithDictionary:[mcsdkBuilder sfmc_build]
                                                                 error:&amp;error];
  </code></pre>
  <p>It show some error regarding Use of undeclared identifier.
  Like Use of undeclared identifier 'mcsdkBuilder'</p>
  <p>Thanks</p>