yoomoney / yookassa-payments-swift

This library allows implementing payment acceptance into mobile apps on iOS and works as an extension to the YooMoney API
https://yookassa.ru/developers
MIT License
41 stars 41 forks source link

Undefined symbols for architecture arm64 #63

Closed null-z closed 3 years ago

null-z commented 4 years ago

Обновил с 2.3.1 до 3.5.0. TrustDefender был заменен TMXProfiling и TMXProfilingConnections with bitcode и остальные шаги в соответствии с инструкцией. 
Проект собирается/запускается, всё работает.
 Архивируется, успешно проходит валидацию, отправляется App Store Connect, но уже в App Store Connect на этапе обработки фэйлится.



Вот такой отчет приходит на почту:
 While processing your iOS app, MyApp, errors occurred in the app thinning process, and your app couldn’t be thinned. If your app contains bitcode, bitcode processing may have failed. Because of these errors, this build of your app will not be able to be submitted for review or placed on the App Store. For information that may help resolve this issue, see Tech Note 2432.



При попытке дистрибьюции методом Development тоже фэйлится.
 Вот часть отчета:


-= Output =- ld: warning: -sdk_version and -platform_version are not compatible, ignoring -sdk_version Undefined symbols for architecture arm64: "yandeximplvkDestroyDescriptorSetLayout", referenced from: hidden#135293 in 1956.o "yandeximplvkCreateDescriptorSetLayout", referenced from: hidden#136070 in 1956.o "yandeximplvkCreateSwapchainKHR", referenced from: hidden#136059 in 1954.o "yandeximplvkGetDeviceQueue", referenced from: hidden#136047 in 1953.o "yandeximplvkEnumeratePhysicalDevices", referenced from: hidden#136009 in 1949.o "yandeximplvkGetPhysicalDeviceFormatProperties", referenced from: hidden#136009 in 1949.o "yandeximplvkWaitForFences", referenced from: hidden#135741 in 1948.o hidden#136008_ in 1948.o "yandeximplvkResetFences", referenced from: hidden#135742 in 1948.o "yandeximplvkCreateFence", referenced from: hidden#136006 in 1948.o "yandeximplvkCreateIOSSurfaceMVK", referenced from: hidden#135995 in 1946.o "yandeximplvkGetPhysicalDeviceSurfacePresentModesKHR", referenced from: hidden#135995 in 1946.o "yandeximplvkDestroySurfaceKHR", referenced from: hidden#135995 in 1946.o hidden#135998_ in 1946.o "yandeximplvkUpdateDescriptorSets", referenced from: hidden#135198 in 1943.o "yandeximplvkCreatePipelineLayout", referenced from: hidden#135956 in 1940.o "yandeximplvkDestroyInstance", referenced from: hidden#135907 in 1936.o "yandeximplvkEnumerateInstanceLayerProperties", referenced from: hidden#135904 in 1936.o "yandeximplvkDestroySwapchainKHR", referenced from: hidden#135717 in 1954.o "yandeximplvkDestroySampler", referenced from: hidden#135248 in 1933.o "yandeximplvkCreateSemaphore", referenced from: hidden#135728 in 1930.o "yandeximplvkDestroyImage", referenced from: hidden#135385 in 1929.o hidden#135719_ in 1929.o _hidden#135720 in 1929.o "yandeximplvkGetPhysicalDeviceSurfaceFormatsKHR", referenced from: hidden#135995 in 1946.o "yandeximplvkEnumerateInstanceExtensionProperties", referenced from: hidden#135904 in 1936.o "yandeximplvkAcquireNextImageKHR", referenced from: hidden#135566 in 1928.o "yandeximplvkCreateSampler", referenced from: hidden#135893 in 1933.o "yandeximplvkCreateShaderModule", referenced from: hidden#135688 in 1925.o "yandeximplvkDestroyFramebuffer", referenced from: hidden#135687 in 1924.o "yandeximplvkGetPhysicalDeviceSurfaceCapabilitiesKHR", referenced from: hidden#135995 in 1946.o hidden#135700_ in 1946.o "__yandex_implvkCreateFramebuffer", referenced from: hidden#135684_ in 1924.o "__yandex_implvkGetPhysicalDeviceProperties", referenced from: hidden#136009_ in 1949.o "__yandex_implvkQueueSubmit", referenced from: hidden#135952_ in 1938.o "__yandex_implvkDestroySemaphore", referenced from: hidden#135731_ in 1930.o "__yandex_implvkQueuePresentKHR", referenced from: hidden#135572_ in 1923.o "__yandex_implvkFreeMemory", referenced from: hidden#135518_ in 1916.o _hidden#135519 in 1916.o "yandeximplvkDestroyRenderPass", referenced from: hidden#135584 in 1921.o "yandeximplvkCreateInstance", referenced from: hidden#135903 in 1936.o "yandeximplvkDestroyShaderModule", referenced from: hidden#135691 in 1925.o "yandeximplvkCreateRenderPass", referenced from: hidden#135651 in 1921.o "yandeximplvkCreateGraphicsPipelines", referenced from: hidden#135645 in 1920.o "yandeximplvkAllocateDescriptorSets", referenced from: hidden#135195 in 1919.o "yandeximplvkDeviceWaitIdle", referenced from: hidden#135549 in 1917.o hidden#135554_ in 1917.o _hidden#135562 in 1917.o "yandeximplvkUnmapMemory", referenced from: hidden#135521 in 1916.o "yandeximplvkCreateImageView", referenced from: hidden#135391 in 1947.o "yandeximplvkDestroyPipeline", referenced from: hidden#135648 in 1920.o "yandeximplvkMapMemory", referenced from: hidden#135520 in 1916.o "yandeximplvkAllocateMemory", referenced from: hidden#135513 in 1916.o "yandeximplvkCreateBuffer", referenced from: hidden#135512 in 1916.o "yandeximplvkDestroyDevice", referenced from: hidden#135225 in 1902.o hidden#135229_ in 1902.o "__yandex_implvkEndCommandBuffer", referenced from: hidden#135215_ in 1910.o "__yandex_implvkGetBufferMemoryRequirements", referenced from: hidden#135512_ in 1916.o "__yandex_implvkBindBufferMemory", referenced from: hidden#135512_ in 1916.o "__yandex_implvkResetDescriptorPool", referenced from: hidden#135640_ in 1919.o "__yandex_implvkCmdBeginRenderPass", referenced from: hidden#135189_ in 1910.o "__yandex_implvkDestroyCommandPool", referenced from: hidden#135338_ in 1911.o "__yandex_implvkGetPhysicalDeviceMemoryProperties", referenced from: hidden#135511_ in 1916.o "__yandex_implvkAllocateCommandBuffers", referenced from: hidden#135340_ in 1911.o "__yandex_implvkCmdBindVertexBuffers", referenced from: hidden#135210_ in 1910.o _hidden#135212 in 1910.o "yandeximplvkFreeCommandBuffers", referenced from: hidden#135363 in 1911.o "yandeximplvkDestroyFence", referenced from: hidden#135744 in 1948.o "yandeximplvkCreateCommandPool", referenced from: hidden#135335 in 1911.o "yandeximplvkCmdBindIndexBuffer", referenced from: hidden#135212 in 1910.o "yandeximplvkCmdBindDescriptorSets", referenced from: hidden#135199 in 1910.o "yandeximplvkGetSwapchainImagesKHR", referenced from: hidden#135709 in 1954.o "yandeximplvkCmdDraw", referenced from: hidden#135208 in 1910.o hidden#135210_ in 1910.o "__yandex_implvkGetPhysicalDeviceSurfaceSupportKHR", referenced from: hidden#135254_ in 1906.o _hidden#135255 in 1906.o "yandeximplvkBeginCommandBuffer", referenced from: hidden#135329 in 1910.o "yandeximplvkDestroyPipelineLayout", referenced from: hidden#135649 in 1940.o "yandeximplvkGetInstanceProcAddr", referenced from: hidden#135903 in 1936.o hidden#135905_ in 1936.o "__yandex_implvkCmdPushConstants", referenced from: hidden#135205_ in 1910.o "__yandex_implvkCmdDrawIndexed", referenced from: hidden#135212_ in 1910.o "__yandex_implvkCreateDescriptorPool", referenced from: hidden#135639_ in 1919.o "__yandex_implvkCmdBindPipeline", referenced from: hidden#135192_ in 1910.o "__yandex_implvkDestroyDescriptorPool", referenced from: hidden#135635_ in 1919.o "__yandex_implvkCmdSetViewport", referenced from: hidden#135192_ in 1910.o "__yandex_implvkCmdCopyBuffer", referenced from: hidden#135331_ in 1910.o "__yandex_implvkDestroyImageView", referenced from: hidden#135398_ in 1947.o _hidden#136002 in 1947.o hidden#136003_ in 1947.o "yandeximplvkCmdSetScissor", referenced from: hidden#135192 in 1910.o "yandeximplvkGetImageMemoryRequirements", referenced from: hidden#135514 in 1916.o "yandeximplvkCmdEndRenderPass", referenced from: hidden#135214 in 1910.o "yandeximplvkCmdCopyBufferToImage", referenced from: hidden#135332 in 1910.o "yandeximplvkCreateImage", referenced from: hidden#135514 in 1916.o "yandeximplvkCmdPipelineBarrier", referenced from: hidden#135330 in 1910.o "yandeximplvkGetPhysicalDeviceQueueFamilyProperties", referenced from: hidden#135255 in 1906.o "yandeximplvkDestroyBuffer", referenced from: hidden#135251 in 1905.o "yandeximplvkCreateDevice", referenced from: hidden#135225 in 1902.o "yandeximplvkBindImageMemory", referenced from: hidden#135514 in 1916.o ld: symbol(s) not found for architecture arm64 Exited with 1

Failed to compile bundle: /var/folders/05/vs11370j15q46m1fz9xjy9m40000gn/T/MyApp3bfa0j_b/MyApp.arm64.xar

Stderr:

/Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:297:in run' /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2706:inblock in CompileOrStripBitcodeInBundle' /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2645:in each' /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2645:inCompileOrStripBitcodeInBundle' /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2905:in block in ProcessIPA' /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2867:ineach' /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:2867:in ProcessIPA' /Applications/Xcode.app/Contents/Developer/usr/bin/ipatool:3814:in

'

oltv00 commented 3 years ago

@null-z привет! получилось ли решить проблему?

null-z commented 3 years ago

Привет! Более попыток обновления не было, а я больше над тем проектом не работаю.