MassiveClient.shared.initAsync(apiToken: {API_TOKEN}) { status in switch status { case .initialized: // Handle successful initialization case .error: // Handle initialization error }}
{"docsConfig":{"theme":"maple","$schema":"https://mintlify.com/docs.json","name":"Massive","colors":{"primary":"#F77C69","light":"#FE9C92","dark":"#C73C1C"},"logo":{"light":"https://mintcdn.com/massive-c2ad7de9/zy-AdWwcnDauLaqG/logo/light.svg?fit=max\u0026auto=format\u0026n=zy-AdWwcnDauLaqG\u0026q=85\u0026s=b729576940e34fcd08060fcd16d7b5eb","dark":"https://mintcdn.com/massive-c2ad7de9/zy-AdWwcnDauLaqG/logo/dark.svg?fit=max\u0026auto=format\u0026n=zy-AdWwcnDauLaqG\u0026q=85\u0026s=86182f91e4cfea00d21b4b9e99efce2f","href":"https://www.joinmassive.com"},"favicon":"https://mintcdn.com/massive-c2ad7de9/zy-AdWwcnDauLaqG/favicon.svg?fit=max\u0026auto=format\u0026n=zy-AdWwcnDauLaqG\u0026q=85\u0026s=a1bd2e2c53281278772b6f2a0a7b9757","navbar":{"links":[{"href":"https://forms.fillout.com/t/p8dRqBYs58us","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://partners.joinmassive.com"}},"footer":{"socials":{"github":"https://github.com/joinmassive","linkedin":"https://www.linkedin.com/company/joinmassive","x":"https://x.com/joinmassive"}},"seo":{"metatags":{"robots":"noindex, nofollow"}},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://www.joinmassive.com/blog"},{"anchor":"Support","icon":"ticket","href":"https://forms.fillout.com/t/p8dRqBYs58us"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"massive-c2ad7de9","hasAudioNarration":false,"actualSubdomain":"massive-c2ad7de9","customDomains":["docs.joinmassive.com"],"gitSource":{"type":"github","owner":"joinmassive","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad78752ad443f8e2f2552de","collectionId":"8315a10f-6d22-4897-a607-02657b4ddc67","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad78752ad443f8e2f2552de"},"feedback":{"issues":true,"edits":true,"thumbs":true},"entitlements":{},"buildId":"6ad78752ad443f8e2f2552de","clientVersion":"0.0.3918","searchFilterCounts":[{"language":"default","tag":"Knowledge Base","count":162},{"language":"default","tag":"Residential","count":40},{"language":"default","tag":"Technical Configuration","count":26},{"language":"default","tag":"SDK Integration","count":20},{"language":"default","tag":"Monetization SDK","count":20},{"language":"default","tag":"Web Render API","count":18},{"language":"default","tag":"Proxy Configuration","count":15},{"language":"default","tag":"Reseller API","count":15},{"language":"default","tag":"ISP Proxies","count":13},{"language":"default","tag":"Sample Integrations","count":13}]},"assistantConfig":{},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2-autocommit","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-branches-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"teamspace","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"client-snapshot-docs-config","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[{"filePath":"global.css","content":".bg-background-light,.bg-white{background-color:#fff!important}.dark\\:bg-background-dark:is(.dark *),.dark\\:bg-codeblock:is(.dark *){background-color:#121117!important}#content-area a,#content-area a:visited{color:#d74939}.dark #content-area a,.dark #content-area a:visited{color:#ff8163}[data-callout-type=info],[data-callout-type=tip]{border-color:rgb(215 73 57/.2)!important;background-color:rgb(255 129 99/.07)!important}[data-callout-type=info] svg,[data-callout-type=tip] svg{color:#d74939!important}.dark [data-callout-type=info],.dark [data-callout-type=tip]{border-color:rgb(255 129 99/.25)!important;background-color:rgb(255 129 99/.1)!important}.dark [data-callout-type=info] a,.dark [data-callout-type=info] svg,.dark [data-callout-type=tip] a,.dark [data-callout-type=tip] svg{color:#ff8163!important}.dark [data-callout-type=info],.dark [data-callout-type=info] *,.dark [data-callout-type=tip],.dark [data-callout-type=tip] *{color:rgb(255 129 99/.85)!important}.latex-style{display:block;margin-bottom:1.5em;font-size:1.125rem}footer{margin-top:-1.375rem;padding-top:0!important;padding-bottom:4rem!important}footer>div:nth-of-type(2){visibility:hidden}"}],"page":{"pagePath":"kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios","slug":"/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios","pageMetadata":{"title":"How do I initialize the Massive SDK on iOS?","description":null,"href":"/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,..._provideComponents(),...props.components},{CodeBlock}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Use the following code:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`MassiveClient.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`shared`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`initAsync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`apiToken`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {API_TOKEN}) { status `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`in`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` switch`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` status {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`initialized`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Handle successful initialization `})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` case`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#9CDCFE`},children:`error`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` // Handle initialization error`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Learn more: `,_jsx(_components.a,{href:`https://docs.joinmassive.com/monetization-sdk/mobile-ios#integration-to-the-app`,children:`iOS Integration Guide`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"How do I initialize the Massive SDK on iOS?","description":null,"href":"/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/_mintlify/custom/massive-c2ad7de9/78ac708e888ead65/test-sharp.js"],"subdomain":"massive-c2ad7de9","siteName":"Massive","title":"How do I initialize the Massive SDK on iOS? - Massive","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-20T15:23:08.861Z","originalFileLocation":"kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Massive\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/massive-c2ad7de9/0hLcmD97jzMfNIm_/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/massive-c2ad7de9/0hLcmD97jzMfNIm_/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/massive-c2ad7de9/0hLcmD97jzMfNIm_/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/massive-c2ad7de9/0hLcmD97jzMfNIm_/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/massive-c2ad7de9/0hLcmD97jzMfNIm_/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/massive-c2ad7de9/0hLcmD97jzMfNIm_/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/massive-c2ad7de9/0hLcmD97jzMfNIm_/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/massive-c2ad7de9/0hLcmD97jzMfNIm_/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/massive-c2ad7de9/0hLcmD97jzMfNIm_/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"How do I initialize the Massive SDK on iOS? - Massive\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Massive\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.joinmassive.com/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://massive-c2ad7de9.mintlify.app/_mintlify/api/og/v2?division=SDK+Integration\u0026amp;title=How+do+I+initialize+the+Massive+SDK+on+iOS%3F\u0026amp;theme=ab044d1337efe1f7e1309cc3\u0026amp;signature=d9135563a3e504495f3de04599214d2f33a57da0368954c7e380de814f90e9b8\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"How do I initialize the Massive SDK on iOS? - Massive\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://massive-c2ad7de9.mintlify.app/_mintlify/api/og/v2?division=SDK+Integration\u0026amp;title=How+do+I+initialize+the+Massive+SDK+on+iOS%3F\u0026amp;theme=ab044d1337efe1f7e1309cc3\u0026amp;signature=d9135563a3e504495f3de04599214d2f33a57da0368954c7e380de814f90e9b8\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/massive-c2ad7de9/0hLcmD97jzMfNIm_/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Massive\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F77C69\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.joinmassive.com/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.joinmassive.com/#organization\",\"name\":\"Massive\",\"url\":\"https://docs.joinmassive.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/massive-c2ad7de9/zy-AdWwcnDauLaqG/logo/light.svg?fit=max\u0026auto=format\u0026n=zy-AdWwcnDauLaqG\u0026q=85\u0026s=b729576940e34fcd08060fcd16d7b5eb\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.joinmassive.com#website\",\"name\":\"Massive\",\"url\":\"https://docs.joinmassive.com\",\"publisher\":{\"@id\":\"https://docs.joinmassive.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.joinmassive.com/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios#webpage\",\"url\":\"https://docs.joinmassive.com/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios\",\"name\":\"How do I initialize the Massive SDK on iOS?\",\"dateModified\":\"2026-10-20T15:23:08.861Z\",\"isPartOf\":{\"@id\":\"https://docs.joinmassive.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.joinmassive.com/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.joinmassive.com/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Knowledge Base\",\"item\":\"https://docs.joinmassive.com/kb/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How do I initialize the Massive SDK on iOS?\",\"item\":\"https://docs.joinmassive.com/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.joinmassive.com/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios#article\",\"headline\":\"How do I initialize the Massive SDK on iOS?\",\"name\":\"How do I initialize the Massive SDK on iOS?\",\"url\":\"https://docs.joinmassive.com/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios\",\"mainEntityOfPage\":{\"@id\":\"https://docs.joinmassive.com/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios#webpage\"},\"dateModified\":\"2026-10-20T15:23:08.861Z\",\"publisher\":{\"@id\":\"https://docs.joinmassive.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.joinmassive.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Massive\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Massive","nav":{"global":{"anchors":[{"anchor":"Blog","icon":"newspaper","href":"https://www.joinmassive.com/blog"},{"anchor":"Support","icon":"ticket","href":"https://forms.fillout.com/t/p8dRqBYs58us"}]},"tabs":[{"tab":"Residential","pages":[{"title":"Residential","href":"/residential/introduction"}]},{"tab":"Web Render API","pages":[{"title":"Web Render API","href":"/web-render/overview"}]},{"tab":"ISP Proxies","pages":[{"title":"ISP Proxies","href":"/isp-proxies/introduction"}]},{"tab":"Monetization SDK","pages":[{"title":"Monetization SDK","href":"/monetization-sdk/introduction"}]},{"tab":"Knowledge Base","groups":[{"group":"Knowledge Base","pages":[{"title":"Getting Started","icon":"circle-info","iconType":"light","href":"/kb/introduction"},{"group":"Frequently Asked Questions","pages":[{"title":"How can I get technical support?","href":"/kb/faq/how-can-i-get-technical-support"},{"title":"What types of proxies does Massive Network offer?","href":"/kb/faq/what-types-of-proxies-does-massive-network-offer"},{"title":"What reporting and analytics tools does Massive Network provide?","href":"/kb/faq/what-reporting-and-analytics-tools-does-massive-network-provide"},{"title":"How do I export data from the dashboard?","href":"/kb/faq/how-do-i-export-data-from-the-dashboard"},{"title":"Are there any resources available for new users?","href":"/kb/faq/are-there-any-resources-available-for-new-users"},{"title":"What are subaccounts and how do they work?","href":"/kb/faq/what-are-subaccounts-and-how-do-they-work"},{"title":"How do I create a Massive Network account?","href":"/kb/faq/how-do-i-create-a-massive-network-account"},{"title":"How do I get started with Massive Network?","href":"/kb/faq/how-do-i-get-started-with-massive-network"},{"title":"Where can I find documentation and resources?","href":"/kb/faq/where-can-i-find-documentation-and-resources"},{"title":"Where can I find my API token?","href":"/kb/faq/where-can-i-find-my-api-token"},{"title":"How do I find my proxy username and password?","href":"/kb/faq/how-do-i-find-my-proxy-username-and-password"},{"title":"How can I request access to restricted content for legitimate business needs?","href":"/kb/faq/how-can-i-request-access-to-restricted-content-for-legitimate-business-needs"},{"title":"How can users opt out of the service?","href":"/kb/faq/how-can-users-opt-out-of-the-service"}]},{"group":"Troubleshooting","pages":[{"title":"How can I prevent common errors before they occur?","href":"/kb/troubleshooting/how-can-i-prevent-common-errors-before-they-occur"},{"title":"Incompatibility with Older Python Versions (Pre-3.9.3) and HTTPS Proxies","href":"/kb/troubleshooting/incompatibility-with-older-python-versions-pre-393-and-https-proxies"},{"title":"How do I handle errors and debugging?","href":"/kb/troubleshooting/how-do-i-handle-errors-and-debugging"},{"title":"How do I troubleshoot a connection failure?","href":"/kb/troubleshooting/how-do-i-troubleshoot-a-connection-failure"},{"title":"What should I do if I receive a server error (500, 502, or 503)?","href":"/kb/troubleshooting/what-should-i-do-if-i-receive-a-server-error-500-502-or-503"},{"title":"What should I do if the SDK initialization fails?","href":"/kb/troubleshooting/what-should-i-do-if-the-sdk-initialization-fails"},{"title":"What are the most common error codes and how do I fix them?","href":"/kb/troubleshooting/what-are-the-most-common-error-codes-and-how-do-i-fix-them"},{"title":"I'm getting a \"CONNECT tunnel failed, response 407\" error. How do I fix it?","href":"/kb/troubleshooting/im-getting-a-connect-tunnel-failed-response-407-error-how-do-i-fix-it"},{"title":"What should I do if I encounter issues with the SDK?","href":"/kb/troubleshooting/what-should-i-do-if-i-encounter-issues-with-the-sdk"},{"title":"Why do DNS leak tests show servers in a different country?","href":"/kb/troubleshooting/why-do-dns-leak-tests-show-servers-in-a-different-country"}]},{"group":"Billing \u0026 Payments","pages":[{"title":"What are Massive Network's pricing and fees?","href":"/kb/billing/what-are-massive-networks-pricing-and-fees"},{"title":"How to Access Your Bill.com Invoice","href":"/kb/billing/how-to-access-your-billcom-invoice"},{"title":"What should I know about the free trial?","href":"/kb/billing/what-should-i-know-about-the-free-trial"},{"title":"How can I contact the sales team?","href":"/kb/billing/how-can-i-contact-the-sales-team"}]},{"group":"Technical Configuration","pages":[{"title":"What ports should I use for proxy connections?","href":"/kb/technical/what-ports-should-i-use-for-proxy-connections"},{"title":"How can I combine different targeting features?","href":"/kb/technical/how-can-i-combine-different-targeting-features"},{"title":"How do I set up proxy authentication with Residential Proxies?","href":"/kb/technical/how-do-i-set-up-proxy-authentication-with-residential-proxies"},{"title":"Using Massive Residential Proxies with Puppeteer","href":"/kb/technical/using-massive-residential-proxies-with-puppeteer"},{"title":"Using Residential Proxies with Node.js and Axios","href":"/kb/technical/using-residential-proxies-with-nodejs-and-axios"},{"title":"What ports are available for email services?","href":"/kb/technical/what-ports-are-available-for-email-services"},{"title":"How do I configure Massive residential proxies in Foxy Proxy?","href":"/kb/technical/how-do-i-configure-massive-residential-proxies-in-foxy-proxy"},{"title":"Using Massive Residential Proxies with Scrapy","href":"/kb/technical/using-massive-residential-proxies-with-scrapy"},{"title":"How do I configure Massive residential proxies in SwitchyOmega?","href":"/kb/technical/how-do-i-configure-massive-residential-proxies-in-switchyomega"},{"title":"Using Massive Residential Proxies with Playwright","href":"/kb/technical/using-massive-residential-proxies-with-playwright"},{"title":"How do I implement geotargeting?","href":"/kb/technical/how-do-i-implement-geotargeting"},{"title":"What is device-type targeting?","href":"/kb/technical/what-is-device-type-targeting"},{"title":"What are sticky sessions and how do they work?","href":"/kb/technical/what-are-sticky-sessions-and-how-do-they-work"},{"title":"Which ports should I use for standard web traffic?","href":"/kb/technical/which-ports-should-i-use-for-standard-web-traffic"},{"title":"How do I authenticate with ISP proxies?","href":"/kb/technical/how-do-i-authenticate-with-isp-proxies"},{"title":"When do sticky sessions change nodes?","href":"/kb/technical/when-do-sticky-sessions-change-nodes"},{"title":"What is the difference between a sticky session and a TCP connection?","href":"/kb/technical/what-is-the-difference-between-sticky-sessions-and-tcp-connections"},{"title":"How should I organize and implement subaccounts?","href":"/kb/technical/how-should-i-organize-and-implement-subaccounts"},{"title":"How do I authenticate and verify my connection to Massive Network?","href":"/kb/technical/how-do-i-authenticate-and-verify-my-connection-to-massive-network"},{"title":"What geotargeting parameters are supported?","href":"/kb/technical/what-geotargeting-parameters-are-supported"},{"title":"What are the usage restrictions for Massive Network proxies (ISP and Residential)?","href":"/kb/technical/what-are-the-usage-restrictions-for-massive-network-proxies-isp-and-residential"},{"title":"Do I need a special ProGuard configuration for Android/Fire OS?","href":"/kb/technical/do-i-need-a-special-proguard-configuration-for-androidfire-os"},{"title":"What are Massive's proxy pool capabilities?","href":"/kb/technical/what-are-massives-proxy-pool-capabilities"},{"title":"How do I set up HTTPS proxy authentication with Massive Network?","href":"/kb/technical/how-do-i-set-up-https-proxy-authentication-with-massive-network"},{"title":"What are the rules for combining parameters?","href":"/kb/technical/what-are-the-rules-for-combining-parameters"},{"title":"How do I implement sticky sessions?","description":null,"href":"/kb/technical/how-do-i-implement-sticky-sessions"}]},{"group":"SDK Integration","pages":[{"title":"How do I initialize the Massive SDK on iOS?","href":"/kb/sdk/how-do-i-initialize-the-massive-sdk-on-ios"},{"title":"How is revenue calculated using the Massive SDK?","description":null,"href":"/kb/sdk/how-is-revenue-calculated-using-the-massive-sdk"},{"title":"What is the Massive SDK?","href":"/kb/sdk/what-is-the-massive-sdk"},{"title":"How do I initialize the Massive SDK on Android/Fire OS?","href":"/kb/sdk/how-do-i-initialize-the-massive-sdk-on-androidfire-os"},{"title":"What permissions does the Massive SDK require on Android/Fire OS?","href":"/kb/sdk/what-permissions-does-the-massive-sdk-require-on-androidfire-os"},{"title":"How can I check if a device is compatible with the SDK?","href":"/kb/sdk/how-can-i-check-if-a-device-is-compatible-with-the-sdk"},{"title":"How can I monitor the SDK's network usage?","href":"/kb/sdk/how-can-i-monitor-the-sdks-network-usage"},{"title":"Does the SDK affect app performance or battery life?","href":"/kb/sdk/does-the-sdk-affect-app-performance-or-battery-life"},{"title":"How does the SDK handle service interruptions?","href":"/kb/sdk/how-does-the-sdk-handle-service-interruptions"},{"title":"Where can I find sample applications?","href":"/kb/sdk/where-can-i-find-sample-applications"},{"title":"Using Massive Residential Proxies with Python (Requests)","href":"/kb/sdk/using-massive-residential-proxies-with-python-requests"},{"title":"How does the Massive SDK work and make money for developers?","href":"/kb/sdk/how-does-the-massive-sdk-work-and-make-money-for-developers"},{"title":"Which platforms does the Massive SDK support?","href":"/kb/sdk/which-platforms-does-the-massive-sdk-support"},{"title":"What are the minimum requirements for iOS integration?","href":"/kb/sdk/what-are-the-minimum-requirements-for-ios-integration"},{"title":"How do I handle SDK updates?","href":"/kb/sdk/how-do-i-handle-sdk-updates"},{"title":"What happens to the SDK when the app is suspended or terminated?","href":"/kb/sdk/what-happens-to-the-sdk-when-the-app-is-suspended-or-terminated"},{"title":"What are the minimum requirements for Android/Fire OS integration?","href":"/kb/sdk/what-are-the-minimum-requirements-for-androidfire-os-integration"},{"title":"What should I test before releasing my app with the SDK?","href":"/kb/sdk/what-should-i-test-before-releasing-my-app-with-the-sdk"},{"title":"Using Residential Proxies with Selenium (Python)","href":"/kb/sdk/using-residential-proxies-with-selenium-python"},{"title":"What are the service types available in Android/Fire OS?","href":"/kb/sdk/what-are-the-service-types-available-in-androidfire-os"}]},{"group":"Company Information","pages":[{"title":"What is Massive Network's infrastructure size?","href":"/kb/general/what-is-massive-networks-infrastructure-size"},{"title":"How does Massive ensure compliance with GDPR and CCPA?","href":"/kb/general/how-does-massive-ensure-compliance-with-gdpr-and-ccpa"},{"title":"What is a Massive Network?","href":"/kb/general/what-is-a-massive-network"},{"title":"What are the main use cases?","href":"/kb/general/what-are-the-main-use-cases"},{"title":"What is the IP distribution by country?","href":"/kb/general/what-is-the-ip-distribution-by-country"},{"title":"What is ethical data collection and how does Massive ensure it?","href":"/kb/general/what-is-ethical-data-collection-and-how-does-massive-ensure-it"},{"title":"What content is restricted on the Massive Network?","href":"/kb/general/what-content-is-restricted-on-the-massive-network"}]}]}]}]},"title":"How do I initialize the Massive SDK on iOS? - Massive","buildId":"dpl_22zLaHtK6fmmSqApXTTP5tC7UBZn","deploymentId":"dpl_22zLaHtK6fmmSqApXTTP5tC7UBZn","dynamics":[],"chunks":[]}